Remove the Powershell state

This commit is contained in:
Roey Darwish Dror
2019-09-05 20:43:18 +03:00
parent f51a26494d
commit b80f31db37
2 changed files with 1 additions and 6 deletions

View File

@@ -35,9 +35,6 @@ lazy_static! {
m.insert("cargo", Step::Cargo);
m.insert("shell", Step::Shell);
#[cfg(windows)]
m.insert("powershell", Step::Powershell);
m
};
}
@@ -67,8 +64,6 @@ pub enum Step {
Cargo,
/// Don't update Powershell modules
Shell,
/// Don't run shell updates (zplug, zr, oh-my-zsh, fisher, tmux)
Powershell,
}
impl Step {

View File

@@ -121,7 +121,7 @@ fn run() -> Result<(), Error> {
}
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)]
execute(&mut report, "WSL", || windows::run_wsl_topgrade(run_type), true)?;