Make clippy happy in Windows

This commit is contained in:
Roey Darwish Dror
2019-10-01 20:32:32 +03:00
parent 179ef615df
commit 0bbe81586a
2 changed files with 2 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ impl Powershell {
let powershell = require_option(self.path.as_ref())?;
if !Self::has_module(&powershell, "PSWindowsUpdate") {
Err(ErrorKind::SkipStep)?;
return Err(ErrorKind::SkipStep.into());
}
print_separator("Windows Update");