From 18cac48541d1b6065a113c729ee83f83366f335c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 24 Oct 2022 12:49:30 +0200 Subject: [PATCH] Fix poolifier benchmarks exit MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- benchmarks/internal/bench.js | 5 +++++ 1 file changed, 5 insertions(+) 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)) -- 2.34.1