Skip to content

Commit f1ee5ff

Browse files
authored
Always show full nim output. (#1327)
Its also properly indented now which makes it easier to read
1 parent f7140a3 commit f1ee5ff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/nimblepkg/tools.nim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ proc doCmd*(cmd: string) =
3131
# Show no command line and --hints:off output by default for calls
3232
# to Nim, command line and standard output with --verbose.
3333
display("Executing", cmd, priority = MediumPriority)
34-
let exitCode = execCmd(cmd)
34+
let (output, exitCode) = execCmdEx(cmd)
35+
display("Nim Output", output, priority = HighPriority)
3536
if exitCode != QuitSuccess:
3637
raise nimbleError(
3738
"Execution failed with exit code $1\nCommand: $2" %

0 commit comments

Comments
 (0)