Lower priority of messages from NimScript parser.
This commit is contained in:
parent
182893c529
commit
c271435a84
1 changed files with 1 additions and 1 deletions
|
|
@ -313,7 +313,7 @@ proc readPackageInfoFromNims*(scriptName: string, options: Options,
|
||||||
if msgs.gErrorCounter > 0:
|
if msgs.gErrorCounter > 0:
|
||||||
raise newException(NimbleError, previousMsg)
|
raise newException(NimbleError, previousMsg)
|
||||||
elif previousMsg.len > 0:
|
elif previousMsg.len > 0:
|
||||||
display("Info", previousMsg, priority = HighPriority)
|
display("Info", previousMsg, priority = MediumPriority)
|
||||||
if output.normalize.startsWith("error"):
|
if output.normalize.startsWith("error"):
|
||||||
raise newException(NimbleError, output)
|
raise newException(NimbleError, output)
|
||||||
previousMsg = output
|
previousMsg = output
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue