[Windows] make choco dummy call for currently installed version (#4410)

This commit is contained in:
Mikhail Koliada
2021-11-02 17:01:28 +03:00
committed by GitHub
parent ffc388200c
commit 3230c42476

View File

@@ -1,2 +1,5 @@
# Step to avoid initial delay for choco scripts
choco upgrade chocolatey
# Step to avoid initial delay for choco scripts.
# On calling the first choco command
# Chocolatey spends 2 minutes cleaning up and removing unneeded packages in the environment.
$ChocoVersion = choco --version
choco upgrade chocolatey --version=$ChocoVersion