Fix win_chocolatey version comparison

fixes #2995
reviewable/pr18780/r1
nitzmahone 8 years ago
parent e672b3141f
commit 1ade801f65

@ -74,7 +74,7 @@ Function Chocolatey-Install-Upgrade
{
$script:executable = "choco.exe"
if ((choco --version) -lt '0.9.9')
if ([Version](choco --version) -lt [Version]'0.9.9')
{
Choco-Upgrade chocolatey
}

Loading…
Cancel
Save