Skip to content

Commit

Permalink
Whoops wrong way
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasLYang committed Oct 24, 2024
1 parent 37dd3df commit a74e2af
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion crates/turborepo/tests/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ pub fn setup_fixture(
"setup_integration_test.sh",
]);
println!("script path: {}", script_path);
let unix_script_path = script_path.as_str().replace("/", "\\");
let unix_script_path = if cfg!(windows) {
script_path.as_str().replace("\\", "/")
} else {
script_path.to_string()
};

println!("unix script path: {}", unix_script_path);
let bash = which("bash")?;

Expand Down

0 comments on commit a74e2af

Please sign in to comment.