summaryrefslogtreecommitdiff
path: root/test/doctool/test-doctool-json.js
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-03-11 21:37:56 +0200
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-03-11 23:01:24 +0200
commit0048169f5e6d280ffd4efd9ce3812bb09ff7309e (patch)
treefeb828117ba3734254fefa1d8008a4ed3c807306 /test/doctool/test-doctool-json.js
parent90e70b8caf26b73241c6f002c53d8cc96b6496b5 (diff)
downloadandroid-node-v8-0048169f5e6d280ffd4efd9ce3812bb09ff7309e.tar.gz
android-node-v8-0048169f5e6d280ffd4efd9ce3812bb09ff7309e.tar.bz2
android-node-v8-0048169f5e6d280ffd4efd9ce3812bb09ff7309e.zip
test: fix path in doctool/test-doctool-json
PR-URL: https://github.com/nodejs/node/pull/19287 Refs: https://github.com/nodejs/node/pull/17820 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'test/doctool/test-doctool-json.js')
-rw-r--r--test/doctool/test-doctool-json.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/doctool/test-doctool-json.js b/test/doctool/test-doctool-json.js
index 993050924a..e295014071 100644
--- a/test/doctool/test-doctool-json.js
+++ b/test/doctool/test-doctool-json.js
@@ -1,9 +1,9 @@
'use strict';
const common = require('../common');
-// The doctool currently uses js-yaml from the tool/eslint/ tree.
+// The doctool currently uses js-yaml from the tool/node_modules/eslint/ tree.
try {
- require('../../tools/eslint/node_modules/js-yaml');
+ require('../../tools/node_modules/eslint/node_modules/js-yaml');
} catch (e) {
common.skip('missing js-yaml (eslint not present)');
}