From: Jérôme Benoit Date: Mon, 24 Oct 2022 10:49:30 +0000 (+0200) Subject: Fix poolifier benchmarks exit X-Git-Tag: v2.3.8~116 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=18cac48541d1b6065a113c729ee83f83366f335c;p=poolifier.git Fix poolifier benchmarks exit Signed-off-by: Jérôme Benoit --- diff --git a/benchmarks/internal/bench.js b/benchmarks/internal/bench.js index faf09393..e88f40cf 100644 --- a/benchmarks/internal/bench.js +++ b/benchmarks/internal/bench.js @@ -101,3 +101,8 @@ Benchmark.suite( details: true }) ) + .then(() => { + // eslint-disable-next-line n/no-process-exit + return process.exit() + }) + .catch(err => console.error(err))