From 322a48d50d5e15958f3dc0d8e1b57e4d17b9a090 Mon Sep 17 00:00:00 2001 From: Tony Brix Date: Sun, 8 Oct 2023 11:53:51 -0600 Subject: [PATCH] clean up code Co-authored-by: Steven --- test/bench.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/bench.js b/test/bench.js index b429c443543..e878a333cc4 100644 --- a/test/bench.js +++ b/test/bench.js @@ -146,9 +146,7 @@ function parseArg(argv) { argv = arg .substring(1) .split('') - .map((ch) => { - return `-${ch}`; - }) + .map((ch) => `-${ch}`) .concat(argv); arg = argv.shift(); } else {