mirror of
https://github.com/nushell/nushell.git
synced 2024-11-23 00:43:33 +01:00
fix windows clippy
This commit is contained in:
parent
d7bd6896cf
commit
c0913330d9
@ -126,6 +126,7 @@ impl ExternalCommand {
|
||||
let ctrlc = engine_state.ctrlc.clone();
|
||||
|
||||
let mut process = self.create_process(&input, false, head)?;
|
||||
prepare_to_foreground(&mut process);
|
||||
let child;
|
||||
|
||||
#[cfg(windows)]
|
||||
@ -143,7 +144,6 @@ impl ExternalCommand {
|
||||
|
||||
#[cfg(not(windows))]
|
||||
{
|
||||
prepare_to_foreground(&mut process);
|
||||
child = process.spawn()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user