diff --git a/tools/doc/addon-verify.js b/tools/doc/addon-verify.js index a6dca436383231..2abd3574cffd7f 100644 --- a/tools/doc/addon-verify.js +++ b/tools/doc/addon-verify.js @@ -17,13 +17,6 @@ let id = 0; // Just to make sure that all examples will be processed tokens.push({ type: 'heading' }); -var oldDirs = fs.readdirSync(verifyDir); -oldDirs = oldDirs.filter(function(dir) { - return /^\d{2}_/.test(dir); -}).map(function(dir) { - return path.resolve(verifyDir, dir); -}); - for (var i = 0; i < tokens.length; i++) { var token = tokens[i]; if (token.type === 'heading' && token.text) {