build(deps-dev): apply updates
[benchmarks-js.git] / max.mjs
diff --git a/max.mjs b/max.mjs
index 8914520e21c75b7e2ee5d50b41ea80a1f310b142..2708eb0f51cbfb77bd43a10fde5667bea79e0ac6 100644 (file)
--- a/max.mjs
+++ b/max.mjs
@@ -1,4 +1,5 @@
 import Benchmark from 'benny'
+
 import { generateRandomNumberArray } from './benchmark-utils.mjs'
 
 const size = 10000
@@ -69,6 +70,4 @@ Benchmark.suite(
   Benchmark.save({ file: 'max', format: 'json', details: true }),
   Benchmark.save({ file: 'max', format: 'chart.html', details: true }),
   Benchmark.save({ file: 'max', format: 'table.html', details: true })
-).catch((err) => {
-  console.error(err)
-})
+).catch(console.error)