This commit is contained in:
Roey Darwish Dror
2021-09-02 13:14:41 +00:00
parent 39f455f184
commit 3135a79e90

View File

@@ -84,7 +84,7 @@ impl Powershell {
pub fn supports_windows_update(&self) -> bool {
self.path
.as_ref()
.map(|p| Self::has_module(&p, "PSWindowsUpdate"))
.map(|p| Self::has_module(p, "PSWindowsUpdate"))
.unwrap_or(false)
}