windows: Fix semantic merge conflict with ShellKind::new (#40107)
Release Notes: - N/A
This commit is contained in:
@@ -355,10 +355,10 @@ impl Shell {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn shell_kind(&self) -> ShellKind {
|
||||
pub fn shell_kind(&self, is_windows: bool) -> ShellKind {
|
||||
match self {
|
||||
Shell::Program(program) => ShellKind::new(program),
|
||||
Shell::WithArguments { program, .. } => ShellKind::new(program),
|
||||
Shell::Program(program) => ShellKind::new(program, is_windows),
|
||||
Shell::WithArguments { program, .. } => ShellKind::new(program, is_windows),
|
||||
Shell::System => ShellKind::system(),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user