mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
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>
This commit is contained in:
1 parent
90e70b8caf
commit
0048169f5e
1 file changed
+2
-2
@@ -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)');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user