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:
Anna Henningsen
2016-05-09 15:15:23 +02:00
committed by Myles Borins
parent ea20796e9d
commit ed193ad8ae

View File

@@ -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;