mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-24 05:03:06 +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) {
|
||||
file.set_extension("exe");
|
||||
}
|
||||
Command::new(crate_config.out_dir.join(file).to_str().unwrap())
|
||||
Command::new(file.to_str().unwrap())
|
||||
.stdout(Stdio::inherit())
|
||||
.output()?;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue