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:
parent
0ea4855546
commit
4f925dd184
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user