diff --git a/src/steps/powershell.rs b/src/steps/powershell.rs index 980d63f8..b5fa0fd2 100644 --- a/src/steps/powershell.rs +++ b/src/steps/powershell.rs @@ -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) }