Skip to content

Commit 6c13638

Browse files
fmt
1 parent 3c73cd6 commit 6c13638

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

crates/packager/src/shell.rs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,11 @@ impl CommandExt for Command {
8383
if output.status.success() {
8484
Ok(output)
8585
} else {
86-
Err(std::io::Error::other(
87-
format!(
88-
"failed to run command: {self:?}\nstdout: {}\nstderr: {}",
89-
String::from_utf8_lossy(&output.stdout),
90-
String::from_utf8_lossy(&output.stderr)
91-
),
92-
))
86+
Err(std::io::Error::other(format!(
87+
"failed to run command: {self:?}\nstdout: {}\nstderr: {}",
88+
String::from_utf8_lossy(&output.stdout),
89+
String::from_utf8_lossy(&output.stderr)
90+
)))
9391
}
9492
}
9593
}

0 commit comments

Comments
 (0)