Powershell module update (fix #41)
This commit is contained in:
@@ -92,6 +92,12 @@ fn run() -> Result<(), Error> {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(windows)]
|
||||
let powershell = windows::Powershell::new();
|
||||
|
||||
#[cfg(windows)]
|
||||
report(&mut reports, powershell.update_modules(&mut terminal));
|
||||
|
||||
if !(matches.is_present("no_system")) {
|
||||
#[cfg(target_os = "linux")]
|
||||
report(&mut reports, linux::upgrade(&sudo, &mut terminal));
|
||||
|
||||
Reference in New Issue
Block a user