summaryrefslogtreecommitdiff
path: root/benchmark/misc/punycode.js
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2018-11-04 12:38:54 -0500
committercjihrig <cjihrig@gmail.com>2018-11-06 10:59:23 -0500
commit5407690bd79a4aa9b5ea72acb98d1a8efd309029 (patch)
tree631bfbf731bdb4fa66338e40a52ecd0579b9d61d /benchmark/misc/punycode.js
parenta74b4a062fd6cf8ba5fb0a17078f855b072841cd (diff)
downloadandroid-node-v8-5407690bd79a4aa9b5ea72acb98d1a8efd309029.tar.gz
android-node-v8-5407690bd79a4aa9b5ea72acb98d1a8efd309029.tar.bz2
android-node-v8-5407690bd79a4aa9b5ea72acb98d1a8efd309029.zip
benchmark: remove unused catch bindings
PR-URL: https://github.com/nodejs/node/pull/24079 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Wyatt Preul <wpreul@gmail.com>
Diffstat (limited to 'benchmark/misc/punycode.js')
-rw-r--r--benchmark/misc/punycode.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/misc/punycode.js b/benchmark/misc/punycode.js
index a55660fbc0..c9eef1f709 100644
--- a/benchmark/misc/punycode.js
+++ b/benchmark/misc/punycode.js
@@ -4,7 +4,7 @@ const common = require('../common.js');
let icu;
try {
icu = common.binding('icu');
-} catch (err) {}
+} catch {}
const punycode = require('punycode');
const bench = common.createBenchmark(main, {