Skip to content

Commit

Permalink
wasm-bindgen-test-runner: Improved node formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
spigaz committed Apr 27, 2024
1 parent 573e3ce commit cf17eb9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/cli/src/bin/wasm-bindgen-test-runner/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,10 @@ pub fn execute(
#[cfg(unix)]
pub fn exec(cmd: &mut Command) -> Result<(), Error> {
use std::os::unix::prelude::*;
Err(Error::from(cmd.exec()).context(format!("failed to execute `{}`", cmd.get_program().to_string_lossy())))
Err(Error::from(cmd.exec()).context(format!(
"failed to execute `{}`",
cmd.get_program().to_string_lossy()
)))
}

#[cfg(windows)]
Expand Down

0 comments on commit cf17eb9

Please sign in to comment.