Skip to content

Commit bc7da0c

Browse files
Ash CrippsMylesBorins
Ash Cripps
authored andcommitted
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: #35315 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent f297174 commit bc7da0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/doc/checkLinks.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ function findMarkdownFilesRecursively(dirPath) {
2727
if (
2828
entry.isDirectory() &&
2929
entry.name !== 'api' &&
30+
entry.name !== 'build' &&
3031
entry.name !== 'changelogs' &&
3132
entry.name !== 'deps' &&
3233
entry.name !== 'fixtures' &&

0 commit comments

Comments
 (0)