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 URL in function returned by isGitIgnored #207

Merged
merged 2 commits into from Jan 17, 2022

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Jan 17, 2022

Fixes #202

I just realized this function also accept object with path, I guess it's easier to use in index.js, but as a public method, I don't think it should do such thing, anyway I didn't touch it.

@sindresorhus
Copy link
Owner

You need to update the readme too.

@sindresorhus sindresorhus changed the title Accept URL in function returns by isGitIgnored Accept URL in function returned by isGitIgnored Jan 17, 2022
@sindresorhus sindresorhus merged commit a9fc794 into sindresorhus:main Jan 17, 2022
@fisker
Copy link
Collaborator Author

fisker commented Jan 17, 2022

Ha, you already did.. but you missed one place. isGitIgnored section

@fisker fisker deleted the is-git-ignored-url branch January 17, 2022 08:33
@fisker
Copy link
Collaborator Author

fisker commented Jan 17, 2022

The object with path property is also not mentioned there, we should remove support for it.

@sindresorhus
Copy link
Owner

Ha, you already did.. but you missed one place. isGitIgnored section

Fixed in main.

The object with path property is also not mentioned there, we should remove support for it.

👍

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 URL in function returns by isGitIgnored() and isGitIgnoredSync()
2 participants