Skip to content

Commit d45af2f

Browse files
yyonchozah
authored andcommitted
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.
1 parent d52fa94 commit d45af2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/nimblepkg/options.nim

+2-2
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,8 @@ proc setNimbleDir*(options: var Options) =
375375
# ...followed by the environment variable.
376376
let env = getEnv("NIMBLE_DIR")
377377
if env.len != 0:
378-
display("Warning:", "Using the environment variable: NIMBLE_DIR='" &
379-
env & "'", Warning, priority = HighPriority)
378+
display("Info:", "Using the environment variable: NIMBLE_DIR='" &
379+
env & "'", Success, priority = HighPriority)
380380
nimbleDir = env
381381
else:
382382
# ...followed by project local deps mode

0 commit comments

Comments
 (0)