mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00: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:
committed by
Myles Borins
parent
ea20796e9d
commit
ed193ad8ae
@@ -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