Skip to content

Commit

Permalink
fix: propagate exit code from lit
Browse files Browse the repository at this point in the history
  • Loading branch information
junlarsen committed Feb 6, 2025
1 parent 4325e34 commit 8962fa0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/eight-xtask/src/lit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ pub fn execute_lit_command(_: LitArgs) {
cmd.arg("tests");
cmd.arg("-v");
let mut child = cmd.spawn().expect("failed to spawn lit");
child.wait().expect("lit failed");
let status = child.wait().expect("lit failed");
std::process::exit(status.code().unwrap_or(1));
}

0 comments on commit 8962fa0

Please sign in to comment.