Remove the Powershell state
This commit is contained in:
@@ -35,9 +35,6 @@ lazy_static! {
|
|||||||
m.insert("cargo", Step::Cargo);
|
m.insert("cargo", Step::Cargo);
|
||||||
m.insert("shell", Step::Shell);
|
m.insert("shell", Step::Shell);
|
||||||
|
|
||||||
#[cfg(windows)]
|
|
||||||
m.insert("powershell", Step::Powershell);
|
|
||||||
|
|
||||||
m
|
m
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -67,8 +64,6 @@ pub enum Step {
|
|||||||
Cargo,
|
Cargo,
|
||||||
/// Don't update Powershell modules
|
/// Don't update Powershell modules
|
||||||
Shell,
|
Shell,
|
||||||
/// Don't run shell updates (zplug, zr, oh-my-zsh, fisher, tmux)
|
|
||||||
Powershell,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Step {
|
impl Step {
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ fn run() -> Result<(), Error> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let powershell = powershell::Powershell::new();
|
let powershell = powershell::Powershell::new();
|
||||||
let should_run_powershell = powershell.profile().is_some() && config.should_run(Step::Powershell);
|
let should_run_powershell = powershell.profile().is_some() && config.should_run(Step::Shell);
|
||||||
|
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
execute(&mut report, "WSL", || windows::run_wsl_topgrade(run_type), true)?;
|
execute(&mut report, "WSL", || windows::run_wsl_topgrade(run_type), true)?;
|
||||||
|
|||||||
Reference in New Issue
Block a user