Fix win_chocolatey version comparison

fixes #2995
pull/18777/head
nitzmahone 8 years ago committed by Matt Clay
parent b2b3d99839
commit 4ff086c1a8

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