Skip to content

Commit

Permalink
wasm-bindgen-test-runner: Fixed minor bug in node exec that is reused…
Browse files Browse the repository at this point in the history
… by deno.
  • Loading branch information
spigaz committed Apr 27, 2024
1 parent e099ebd commit 9d1bdec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 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,7 @@ pub fn execute(
#[cfg(unix)]
pub fn exec(cmd: &mut Command) -> Result<(), Error> {
use std::os::unix::prelude::*;
Err(Error::from(cmd.exec()).context("failed to execute `node`"))
Err(Error::from(cmd.exec()).context(format!("failed to execute `{}`", cmd.get_program().to_string_lossy())))
}

#[cfg(windows)]
Expand Down

0 comments on commit 9d1bdec

Please sign in to comment.