Correct problem with changed:true

I have just changed a small piece of this module to avoid to return always that the task is changed
pull/4420/head
daveres 2015-12-08 19:00:31 +01:00 committed by Matt Clay
parent 0606233431
commit ab7aa73cdb
1 changed files with 1 additions and 1 deletions

View File

@ -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
}