diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-05-13 17:47:55 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-05-16 18:44:54 +0300 |
commit | 01e2f48c077f6551dbb3acd5f5907690d9cf80bd (patch) | |
tree | 48461334c14652dcc9efaa93d1c7083c43d63817 /tools/doc/common.js | |
parent | ea01d305f65147325866f68a93d511d076a82016 (diff) | |
download | android-node-v8-01e2f48c077f6551dbb3acd5f5907690d9cf80bd.tar.gz android-node-v8-01e2f48c077f6551dbb3acd5f5907690d9cf80bd.tar.bz2 android-node-v8-01e2f48c077f6551dbb3acd5f5907690d9cf80bd.zip |
tools: eliminate intermediate module in doctools
PR-URL: https://github.com/nodejs/node/pull/20701
Fixes: https://github.com/nodejs/node/issues/20685
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'tools/doc/common.js')
-rw-r--r-- | tools/doc/common.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/doc/common.js b/tools/doc/common.js index 553b52935f..813935f23b 100644 --- a/tools/doc/common.js +++ b/tools/doc/common.js @@ -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); |