Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(flaws): exclude /en-US/observatory/* from broken-link flaw #11406

Merged
merged 4 commits into from
Jul 4, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(broken-links): add exception for HTTP Observatory
  • Loading branch information
caugner authored Jul 3, 2024
commit 777819c2d0f298441f14f149a4c9ca777983248f
1 change: 1 addition & 0 deletions build/flaws/broken-links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ export function getBrokenLinksFlaws(
} else if (
href.startsWith("https://developer.mozilla.org/") &&
!href.startsWith("https://developer.mozilla.org/en-US/curriculum/") &&
!href.startsWith("https://developer.mozilla.org/en-US/observatory") &&
caugner marked this conversation as resolved.
Show resolved Hide resolved
!href.startsWith("https://developer.mozilla.org/en-US/blog/")
) {
// It might be a working 200 OK link but the link just shouldn't
Expand Down