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

Accept file URL instances #38

Closed
wants to merge 11 commits into from

Conversation

jopemachine
Copy link

Fixes #36.

index.js Outdated Show resolved Hide resolved
index.js Outdated Show resolved Hide resolved
@sindresorhus
Copy link
Owner

You're not handling URL where it's actually needed, on line 106.

@jopemachine
Copy link
Author

Removed moot function call and added some tests for relative url.
It seems working for relative urls.
I would appreciate your letting me know if I got wrong :)

@sindresorhus
Copy link
Owner

You're not handling URL where it's actually needed, on line 106.

^

@jopemachine
Copy link
Author

Done. I'm sorry for the missing.

index.js Outdated Show resolved Hide resolved
index.js Outdated Show resolved Hide resolved
index.js Show resolved Hide resolved
@sindresorhus
Copy link
Owner

Tests were failing on Windows.

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

Successfully merging this pull request may close these issues.

Accept file URL instances
2 participants