Skip to content

Commit

Permalink
test: fix path in doctool/test-doctool-json
Browse files Browse the repository at this point in the history
PR-URL: #19287
Refs: #17820
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
  • Loading branch information
vsemozhetbyt authored and MylesBorins committed Mar 20, 2018
1 parent 89fbbc4 commit 84ae59e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/doctool/test-doctool-json.js
Original file line number Diff line number Diff line change
@@ -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)');
}
Expand Down

0 comments on commit 84ae59e

Please sign in to comment.