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

fix: ignore all non-http[s] links #111

Merged
merged 1 commit into from
Nov 17, 2019
Merged

fix: ignore all non-http[s] links #111

merged 1 commit into from
Nov 17, 2019

Conversation

JustinBeckwith
Copy link
Owner

@JustinBeckwith JustinBeckwith commented Nov 17, 2019

Fixes #104

@@ -110,7 +110,7 @@ describe('linkinator', () => {
path: 'test/fixtures/recurse',
recurse: true,
});
assert.strictEqual(results.links.length, 5);
assert.strictEqual(results.links.length, 4);
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turns out this was a bug! The cache was not normalizing the url for /index style paths, which the new URL object does 😄

@JustinBeckwith JustinBeckwith merged commit 2f28114 into master Nov 17, 2019
@delete-merged-branch delete-merged-branch bot deleted the proto2 branch November 17, 2019 04:23
@JustinBeckwith
Copy link
Owner Author

🎉 This PR is included in version 1.7.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ignore all protocols except HTTP and HTTPS
1 participant