Skip to content

Commit c2fbeee

Browse files
committed
change formatting to fit rustfmt
1 parent 191f732 commit c2fbeee

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cargo-auditable/src/cargo_auditable.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,8 @@ pub fn main() {
3737
let results = command
3838
.status()
3939
.expect("Failed to invoke cargo! Make sure it's in your $PATH");
40-
std::process::exit(results.code().expect("cargo was terminated by a deadly signal"));
40+
let code = results
41+
.code()
42+
.expect("cargo was terminated by a deadly signal");
43+
std::process::exit(code);
4144
}

0 commit comments

Comments
 (0)