mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-27 22:50:19 +00:00
eliminate duplicate absolute path join
This commit is contained in:
parent
c2c4989483
commit
029c0b23f4
1 changed files with 1 additions and 1 deletions
|
@ -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()?;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue