Skip to content

Commit

Permalink
Downgrade NIMBLE_DIR notification to info
Browse files Browse the repository at this point in the history
- warnings typically require action from the user. In that case, having
NIMBLE_DIR is not something that the user should be concerned about.
  • Loading branch information
yyoncho authored and zah committed Apr 10, 2023
1 parent d52fa94 commit d45af2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nimblepkg/options.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d45af2f

Please sign in to comment.