diff --git a/windows/win_chocolatey.ps1 b/windows/win_chocolatey.ps1 index ce006fff152..2c9a945840c 100644 --- a/windows/win_chocolatey.ps1 +++ b/windows/win_chocolatey.ps1 @@ -86,7 +86,7 @@ Function Choco-IsInstalled Throw "Error checking installation status for $package" } - If ("$results" -match " $package .* (\d+) packages installed.") + If ("$results" -match "$package .* (\d+) packages installed.") { return $matches[1] -gt 0 }