Skip to content

Commit

Permalink
tools: ignore build folder when checking links
Browse files Browse the repository at this point in the history
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]>
Ash Cripps authored and MylesBorins committed Nov 16, 2020

Verified

This commit was signed with the committer’s verified signature.
MylesBorins Myles Borins
1 parent f297174 commit bc7da0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/doc/checkLinks.js
Original file line number Diff line number Diff line change
@@ -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' &&

0 comments on commit bc7da0c

Please sign in to comment.