Skip to content

Commit

Permalink
Always show full nim output. (#1327)
Browse files Browse the repository at this point in the history
Its also properly indented now which makes it easier to read
  • Loading branch information
jmgomez authored Jan 3, 2025
1 parent f7140a3 commit f1ee5ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/nimblepkg/tools.nim
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ proc doCmd*(cmd: string) =
# Show no command line and --hints:off output by default for calls
# to Nim, command line and standard output with --verbose.
display("Executing", cmd, priority = MediumPriority)
let exitCode = execCmd(cmd)
let (output, exitCode) = execCmdEx(cmd)
display("Nim Output", output, priority = HighPriority)
if exitCode != QuitSuccess:
raise nimbleError(
"Execution failed with exit code $1\nCommand: $2" %
Expand Down

0 comments on commit f1ee5ff

Please sign in to comment.