Skip to content

Commit 52ffc03

Browse files
committed
fix path check
1 parent b769181 commit 52ffc03

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CanaryValidator/Canary.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ while ($runCount -le $NumberOfIterations)
150150
}
151151
}
152152

153-
if (Test-Path -Path $WindowsISOPath)
153+
if (Test-Path -Path $WindowsISOPath -ErrorAction SilentlyContinue)
154154
{
155155
Invoke-Usecase -Name 'UploadWindows2016ImageToPIR' -Description "Uploads a windows server 2016 image to the PIR" -UsecaseBlock `
156156
{

0 commit comments

Comments
 (0)