diff --git a/cluster/gce/win1803/common.psm1 b/cluster/gce/win1803/common.psm1 index dc67eac8614..f345ac2d3ae 100644 --- a/cluster/gce/win1803/common.psm1 +++ b/cluster/gce/win1803/common.psm1 @@ -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 {