Skip to content

Commit cd286f7

Browse files
authored
[Windows] Force Chocolatey to check packages hashes (#9020)
1 parent 1921245 commit cd286f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

images/windows/scripts/helpers/ChocoHelpers.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function Install-ChocoPackage {
3232
$count = 1
3333
while ($true) {
3434
Write-Host "Running [#$count]: choco install $packageName -y $argumentList"
35-
choco install $packageName -y @argumentList --no-progress
35+
choco install $packageName -y @argumentList --no-progress --require-checksums
3636

3737
$pkg = choco list --localonly $packageName --exact --all --limitoutput
3838
if ($pkg) {

0 commit comments

Comments
 (0)