Skip to content

Commit

Permalink
Fix exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Oct 29, 2024
1 parent e70c9c1 commit 5a9fc28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/benchmark-rule.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ function printHelp() {

if (!ruleName || !ruleOptions) {
printHelp();
exit(-1);
exit(1);
}

if (!stylelint.rules[ruleName]) {
console.error(`Unknown rule: ${ruleName}`);
exit(-1);
exit(1);
}

const CSS_URL = 'https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.css';
Expand Down

0 comments on commit 5a9fc28

Please sign in to comment.