Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
la .panon. committed Jul 8, 2024
1 parent 31dcee5 commit e5233c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nimblepkg/cli.nim
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ proc prompt*(forcePrompts: ForcePrompt, question: string): bool =
display("Prompt:", question & " -> [forced no]", Warning, HighPriority)
return false
of dontForcePrompt:
if globalCLI.level > SilentPriority:
if globalCLI.level < SilentPriority:
display("Prompt:", question & " [y/N]", Warning, HighPriority)
displayCategory("Answer:", Warning, HighPriority)
let yn = stdin.readLine()
Expand Down

0 comments on commit e5233c4

Please sign in to comment.