Skip to content

Commit 38fc741

Browse files
vsemozhetbytMylesBorins
authored andcommitted
tools: eliminate intermediate module in doctools
PR-URL: #20701 Fixes: #20685 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 678b754 commit 38fc741

File tree

2 files changed

+2
-17
lines changed

2 files changed

+2
-17
lines changed

tools/doc/common.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use strict';
22

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

56
function isYAMLBlock(text) {
67
return /^<!-- YAML/.test(text);

tools/doc/node_modules/js-yaml/index.js

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)