X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=shallow-clone-object.js;h=f8e193b65e701a7d91294cfa6bf973cd7d6b696d;hb=d1201e9403f4abb9e0bf3dd25600ef9cee3a119c;hp=7ccc5410b79007bde5fcde1d9db67d81bcf56a8a;hpb=823ca29667e5d5e4951f629ebe19ae8ec1f44b52;p=benchmarks-js.git diff --git a/shallow-clone-object.js b/shallow-clone-object.js index 7ccc541..f8e193b 100644 --- a/shallow-clone-object.js +++ b/shallow-clone-object.js @@ -1,7 +1,7 @@ /* eslint-disable no-unused-vars */ const Benchmark = require('benny') -const { generateRandomObject } = require('./benchmark-utils') const _ = require('lodash') +const { generateRandomObject } = require('./benchmark-utils') const object = generateRandomObject() @@ -33,4 +33,6 @@ Benchmark.suite( format: 'table.html', details: true }) -) +).catch(err => { + console.error(err) +})