Skip to content

Commit

Permalink
tools: eliminate intermediate module in doctools
Browse files Browse the repository at this point in the history
PR-URL: nodejs#20701
Fixes: nodejs#20685
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
vsemozhetbyt committed May 16, 2018
1 parent ea01d30 commit 01e2f48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
3 changes: 2 additions & 1 deletion tools/doc/common.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use strict';

const yaml = require('js-yaml');
const yaml =
require(`${__dirname}/../node_modules/eslint/node_modules/js-yaml`);

function isYAMLBlock(text) {
return /^<!-- YAML/.test(text);
Expand Down
16 changes: 0 additions & 16 deletions tools/doc/node_modules/js-yaml/index.js

This file was deleted.

0 comments on commit 01e2f48

Please sign in to comment.