From 5a9fc2868ff22f642748e00abc92de5273fc5471 Mon Sep 17 00:00:00 2001 From: Masafumi Koba <473530+ybiquitous@users.noreply.github.com> Date: Tue, 29 Oct 2024 21:41:46 +0900 Subject: [PATCH] Fix exit code --- scripts/benchmark-rule.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/benchmark-rule.mjs b/scripts/benchmark-rule.mjs index 44c670d6bd..228e3d0d55 100644 --- a/scripts/benchmark-rule.mjs +++ b/scripts/benchmark-rule.mjs @@ -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';