Skip to content

Commit

Permalink
Fix supressing the budget (#4065)
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore authored Jan 18, 2024
1 parent e9a8c80 commit 5814518
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bin/sitespeed.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 5814518

Please sign in to comment.