aboutsummaryrefslogtreecommitdiff
path: root/test/doctool/test-doctool-html.js
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2018-11-04 10:25:02 -0500
committercjihrig <cjihrig@gmail.com>2018-11-06 10:59:18 -0500
commita74b4a062fd6cf8ba5fb0a17078f855b072841cd (patch)
tree0e82ccc547e2bcfc366bca14a757a7b37d533e11 /test/doctool/test-doctool-html.js
parenta7ba5faaf52b3794b1ade619b7f2b9c77517dbd3 (diff)
downloadandroid-node-v8-a74b4a062fd6cf8ba5fb0a17078f855b072841cd.tar.gz
android-node-v8-a74b4a062fd6cf8ba5fb0a17078f855b072841cd.tar.bz2
android-node-v8-a74b4a062fd6cf8ba5fb0a17078f855b072841cd.zip
test: 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 'test/doctool/test-doctool-html.js')
-rw-r--r--test/doctool/test-doctool-html.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/doctool/test-doctool-html.js b/test/doctool/test-doctool-html.js
index 78f48ae54e..499034cd8a 100644
--- a/test/doctool/test-doctool-html.js
+++ b/test/doctool/test-doctool-html.js
@@ -4,7 +4,7 @@ const common = require('../common');
// The doctool currently uses js-yaml from the tool/node_modules/eslint/ tree.
try {
require('../../tools/node_modules/eslint/node_modules/js-yaml');
-} catch (e) {
+} catch {
common.skip('missing js-yaml (eslint not present)');
}