Skip to content

Commit

Permalink
fix: cli: show stderr when a command fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Milo123459 committed Nov 14, 2021
1 parent 867ffe0 commit d4509eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,7 @@ fn run_cmd(
&args.join(" ")
);
println!("{}", String::from_utf8_lossy(&output.stdout));
println!("{}", String::from_utf8_lossy(&output.stderr));

std::process::exit(1);
}
Expand Down

0 comments on commit d4509eb

Please sign in to comment.