Skip to content

Commit

Permalink
nah
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyshew committed Aug 7, 2024
1 parent 8392508 commit 676d58f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/validate-docs-links/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ function traverseTreeAndValidateLinks(tree: any, doc: Document): Errors {

if (!href) return;

if (href.startsWith("../../")) {
if (href.startsWith("/")) {
validateInternalLink(errors, href);
} else if (href.startsWith("#")) {
validateHashLink(errors, href, doc);
Expand Down

0 comments on commit 676d58f

Please sign in to comment.