mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
tools: fix tools/doc/addon-verify.js regression
Introduced in commit 3f69ea5 ("tools: update marked dependency"), it
stopped the embedded addons in the documentation from getting built.
PR-URL: https://github.com/nodejs/node/pull/6652
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
1 parent
ea20796e9d
commit
ed193ad8ae
1 file changed
+1
-1
@@ -10,7 +10,7 @@ const verifyDir = path.resolve(rootDir, 'test', 'addons');
|
||||
|
||||
const contents = fs.readFileSync(doc).toString();
|
||||
|
||||
const tokens = marked.lexer(contents, {});
|
||||
const tokens = marked.lexer(contents);
|
||||
let files = null;
|
||||
let id = 0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user