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

Simple pattern fails to compile correctly #11

Open
giltayar opened this issue Oct 29, 2015 · 1 comment
Open

Simple pattern fails to compile correctly #11

giltayar opened this issue Oct 29, 2015 · 1 comment

Comments

@giltayar
Copy link

If I compile('foo.txt'), it should accept('foo.txt'), but doesn't. It also does not accept('a/foo.txt').

@phpnode
Copy link
Member

phpnode commented Oct 29, 2015

@giltayar not using this plugin at the moment, but PRs welcome. This is happening because it expects that there's at least one negation (!somefile.txt) in the file, it should be really simple to fix but I won't have time to do it myself.

GerHobbelt added a commit to GerHobbelt/gitignore-parser that referenced this issue Jul 6, 2020
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

No branches or pull requests

2 participants