Skip to content

Commit 2ba205d

Browse files
authored
Merge pull request #43 from microsoft/alzollin/failIfTestsFail
Changed the default value of the `FailOnTestFailure` parameter
2 parents 1f405f6 + 6359b4a commit 2ba205d

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)