Powershell module update (fix #41)

This commit is contained in:
Roey Darwish Dror
2018-08-22 22:01:06 +03:00
parent 38f81aaa5a
commit 0d584bb7c0
2 changed files with 36 additions and 1 deletions

View File

@@ -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));