Print nimscript errors
This commit is contained in:
parent
ca779afb20
commit
deb20ee57a
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ proc execNimscript(nimsFile, projectDir, actionName: string, options: Options,
|
||||||
result.output = outFile.readFile()
|
result.output = outFile.readFile()
|
||||||
discard outFile.tryRemoveFile()
|
discard outFile.tryRemoveFile()
|
||||||
else:
|
else:
|
||||||
result = execCmdEx(cmd, options = {poUsePath})
|
result = execCmdEx(cmd, options = {poUsePath, poStdErrToStdOut})
|
||||||
|
|
||||||
proc getNimsFile(scriptName: string, options: Options): string =
|
proc getNimsFile(scriptName: string, options: Options): string =
|
||||||
let
|
let
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue