Merge pull request #643 from genotrance/nocompiler-fixes-2

Print nimscript errors
This commit is contained in:
genotrance 2019-05-01 07:52:04 -05:00 committed by GitHub
commit a437fd33c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,7 @@ proc execNimscript(nimsFile, projectDir, actionName: string, options: Options,
result.output = outFile.readFile()
discard outFile.tryRemoveFile()
else:
result = execCmdEx(cmd, options = {poUsePath})
result = execCmdEx(cmd, options = {poUsePath, poStdErrToStdOut})
proc getNimsFile(scriptName: string, options: Options): string =
let