Skip to content

Commit 2cc3323

Browse files
committed
Test: Resume on error
1 parent 238d4a1 commit 2cc3323

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Build.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ function CheckLastExitCode {
22
param ([int[]]$SuccessCodes = @(0), [scriptblock]$CleanupScript=$null)
33

44
if ($SuccessCodes -notcontains $LastExitCode) {
5-
throw "Executable returned exit code $LastExitCode"
5+
Write-Output "ERROR: Executable returned exit code $LastExitCode"
66
}
77
}
88

@@ -30,7 +30,7 @@ function RunInspectCode {
3030
}
3131

3232
if ($failed) {
33-
throw "One or more projects failed code inspection.";
33+
Write-Output "ERROR: One or more projects failed code inspection.";
3434
}
3535
}
3636
}

0 commit comments

Comments
 (0)