gitignore-parser icon indicating copy to clipboard operation
gitignore-parser copied to clipboard

Simple pattern fails to compile correctly

Open giltayar opened this issue 10 years ago • 1 comments

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

giltayar avatar Oct 29 '15 20:10 giltayar

@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.

phpnode avatar Oct 29 '15 20:10 phpnode