Skip to content

Commit

Permalink
Infrastructure: Temporarily ignore failing check during link checker …
Browse files Browse the repository at this point in the history
…while #2907 is being investigated (#2925)
  • Loading branch information
howard-e authored Feb 6, 2024
1 parent f2ebb49 commit 36726b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .link-checker.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ module.exports = {
ignoreHashesOnExternalPagesMatchingRegex: [
// Some hash links are resolved with JS and are therefore difficult to check algorithmically
/^https:\/\/html\.spec\.whatwg\.org\/multipage\//,
'https://github.com/w3c/aria-practices#code-conformance', // TODO: Remove when #2907 is resolved
],
};
2 changes: 1 addition & 1 deletion scripts/link-checker.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ async function checkLinks() {
) {
consoleError(
`Found broken external link on ${htmlPath}:${lineNumber}:${columnNumber}, ` +
'hash not found on page'
`hash "#${hash}" not found on page`
);
}
}
Expand Down

0 comments on commit 36726b1

Please sign in to comment.