Skip to content

Commit 6359b4a

Browse files
committed
Changed the default value of the FailOnTestFailure parameter
from `$false` to `$true`, ensuring that test failures now stop the build process.
1 parent 1f405f6 commit 6359b4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/build-cli.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
.PARAMETER SkipTests
1010
Skip running unit tests
1111
.PARAMETER FailOnTestFailure
12-
Exit with error code if tests fail (default: false, only warns)
12+
Exit with error code if tests fail (default: true, stops build on test failures)
1313
.PARAMETER SkipMsix
1414
Skip MSIX bundle creation
1515
.PARAMETER Stable
@@ -27,7 +27,7 @@
2727
param(
2828
[switch]$Clean = $false,
2929
[switch]$SkipTests = $false,
30-
[switch]$FailOnTestFailure = $false,
30+
[switch]$FailOnTestFailure = $true,
3131
[switch]$SkipMsix = $true,
3232
[switch]$Stable = $false
3333
)

0 commit comments

Comments
 (0)