Fix supressing the budget (#4065)

This commit is contained in:
Peter Hedenskog 2024-01-18 13:37:36 +01:00 committed by GitHub
parent e9a8c80b09
commit 5814518f63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 4 deletions

View File

@ -163,10 +163,7 @@ async function start() {
process.exitCode = 1;
}
// If you supress the exit code using budgets, we will always return 0
else if (
parsed.options.budget &&
parsed.options.budget.suppressExitCode
) {
if (parsed.options.budget && parsed.options.budget.suppressExitCode) {
process.exitCode = 0;
}