Skip to content

Commit

Permalink
tools: eliminate intermediate module in doctools
Browse files Browse the repository at this point in the history
PR-URL: #20701
Fixes: #20685
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
vsemozhetbyt authored and MylesBorins committed May 22, 2018
1 parent 678b754 commit 38fc741
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 38fc741

Please sign in to comment.