diff --git a/benchmark/compare.js b/benchmark/compare.js index 94ff19bb56..de328d60fc 100644 --- a/benchmark/compare.js +++ b/benchmark/compare.js @@ -33,7 +33,8 @@ const benchmarks = cli.benchmarks(); if (benchmarks.length === 0) { console.error('no benchmarks found'); - process.exit(1); + process.exitCode = 1; + return; } // Create queue from the benchmarks list such both node versions are tested