mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-07 03:03:08 +00:00
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user