Skip to content

Commit

Permalink
Add example fo the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
softius committed Nov 4, 2024
1 parent c005f3b commit f134daa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion designs/2024-baseline-support/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@ if (options.suppressAll || options.suppressRule || options.pruneSuppressions ||

const suppressionResults = suppressionsManager.applySuppressions(results, suppressionsManager.load());
if (suppressionResults.unmatched.length > 0) {
// exit with a non-zero code
log.error("There are left suppressions that do not occur anymore. Consider re-running the command with `--prune-suppressions`.");
return 2;
}

results = suppressionResults.results;
Expand Down

0 comments on commit f134daa

Please sign in to comment.