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 <riclau@uk.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
Ash Cripps authored and MylesBorins committed Sep 24, 2020
1 parent 0c4540b commit 7f35573
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
Expand Up @@ -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' &&
Expand Down

0 comments on commit 7f35573

Please sign in to comment.