Skip to content

Commit 6059cb1

Browse files
committed
Do not append EXE_SUFFIX in Config::cmd
1 parent 2d94925 commit 6059cb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/mock/clitools.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ impl Config {
522522
I: IntoIterator<Item = A>,
523523
A: AsRef<OsStr>,
524524
{
525-
let exe_path = self.exedir.join(format!("{name}{EXE_SUFFIX}"));
525+
let exe_path = self.exedir.join(name);
526526
let mut cmd = Command::new(exe_path);
527527
cmd.args(args);
528528
cmd.current_dir(&*self.workdir.borrow());

0 commit comments

Comments
 (0)