summaryrefslogtreecommitdiff
path: root/benchmark/bench/cli-startup.js
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/bench/cli-startup.js')
-rw-r--r--benchmark/bench/cli-startup.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/bench/cli-startup.js b/benchmark/bench/cli-startup.js
index 6f2555499..2e9eccf64 100644
--- a/benchmark/bench/cli-startup.js
+++ b/benchmark/bench/cli-startup.js
@@ -45,7 +45,7 @@ async function benchmarkCommand(command, args, root) {
for (let i = 0; i < 10; i++) {
const start = performance.now();
- await exec(command, args, { nodeOptions: { cwd: root } });
+ await exec(command, args, { nodeOptions: { cwd: root }, throwOnError: true });
durations.push(performance.now() - start);
}