From bc7da0c22c0ae1e823481990490e2aea00c5a8eb Mon Sep 17 00:00:00 2001 From: Ash Cripps Date: Wed, 23 Sep 2020 11:35:40 +0100 Subject: [PATCH] tools: ignore build folder when checking links We checkout build as a subdirectory as part of CI and if you run `make test` instead of `make test-ci` you get loads of errors about markdown link breaks. Ignore this directory as we don't need to examine another repo PR-URL: https://github.com/nodejs/node/pull/35315 Reviewed-By: Richard Lau Reviewed-By: Rich Trott Reviewed-By: Luigi Pinca --- tools/doc/checkLinks.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/doc/checkLinks.js b/tools/doc/checkLinks.js index 97210ca03076e4..f3415f521cc6d5 100644 --- a/tools/doc/checkLinks.js +++ b/tools/doc/checkLinks.js @@ -27,6 +27,7 @@ function findMarkdownFilesRecursively(dirPath) { if ( entry.isDirectory() && entry.name !== 'api' && + entry.name !== 'build' && entry.name !== 'changelogs' && entry.name !== 'deps' && entry.name !== 'fixtures' &&