eliminate duplicate absolute path join
This commit is contained in:
1 parent
c2c4989483
commit
029c0b23f4
1 file changed
+1
-1
@@ -49,7 +49,7 @@ impl Serve {
|
|||||||
if cfg!(windows) {
|
if cfg!(windows) {
|
||||||
file.set_extension("exe");
|
file.set_extension("exe");
|
||||||
}
|
}
|
||||||
Command::new(crate_config.out_dir.join(file).to_str().unwrap())
|
Command::new(file.to_str().unwrap())
|
||||||
.stdout(Stdio::inherit())
|
.stdout(Stdio::inherit())
|
||||||
.output()?;
|
.output()?;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user