From 2c55cc433c5b48a75e14bf120b77acd334351932 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 --- 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' &&