Merge pull request #74324 from mtaufen/fix-windows

Fix hash if statement
This commit is contained in:
Kubernetes Prow Robot 2019-02-20 23:57:18 -08:00 committed by GitHub
commit f1de0b557c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,7 +129,7 @@ function MustDownload-File {
continue
}
# Attempt to validate the hash
if ($Hash -ne $null) {
if ($Hash) {
Try {
Validate-SHA1 -Hash $Hash -Path $OutFile
} Catch {