From d45af2fb6e07e55768d74349628246af58d61d9d Mon Sep 17 00:00:00 2001 From: Ivan Yonchovski Date: Wed, 21 Dec 2022 15:37:50 +0200 Subject: [PATCH] Downgrade NIMBLE_DIR notification to info - warnings typically require action from the user. In that case, having NIMBLE_DIR is not something that the user should be concerned about. --- src/nimblepkg/options.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nimblepkg/options.nim b/src/nimblepkg/options.nim index c9c7943d..eb72e9d8 100644 --- a/src/nimblepkg/options.nim +++ b/src/nimblepkg/options.nim @@ -375,8 +375,8 @@ proc setNimbleDir*(options: var Options) = # ...followed by the environment variable. let env = getEnv("NIMBLE_DIR") if env.len != 0: - display("Warning:", "Using the environment variable: NIMBLE_DIR='" & - env & "'", Warning, priority = HighPriority) + display("Info:", "Using the environment variable: NIMBLE_DIR='" & + env & "'", Success, priority = HighPriority) nimbleDir = env else: # ...followed by project local deps mode