Merge pull request #121 from jerome-benoit/dependabot/npm_and_yarn/eslint-plugin...
[benchmarks-js.git] / busy-wait.mjs
index 5a55ef82ef85164839bc476d84c631b4f03eb720..eeef8fed05b791d348218e6d5971dea0da6c64d7 100644 (file)
@@ -77,6 +77,4 @@ Benchmark.suite(
   Benchmark.save({ file: 'busy-wait', format: 'json', details: true }),
   Benchmark.save({ file: 'busy-wait', format: 'chart.html', details: true }),
   Benchmark.save({ file: 'busy-wait', format: 'table.html', details: true })
-).catch(err => {
-  console.error(err)
-})
+).catch(console.error)