Browse Source

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>
process-exit-stdio-flushing
Anna Henningsen 9 years ago
committed by Ben Noordhuis
parent
commit
4f925dd184
  1. 2
      tools/doc/addon-verify.js

2
tools/doc/addon-verify.js

@ -10,7 +10,7 @@ const verifyDir = path.resolve(rootDir, 'test', 'addons');
const contents = fs.readFileSync(doc).toString(); const contents = fs.readFileSync(doc).toString();
const tokens = marked.lexer(contents, {}); const tokens = marked.lexer(contents);
let files = null; let files = null;
let id = 0; let id = 0;

Loading…
Cancel
Save