Closed kaelzhang closed 8 years ago
@kaelzhang This looks great! Thank you for a great library! Yep, I agree tests could have been better for this.
Not really related to this PR, one thing I noticed that patterns like this
/*
/*/
!/js/
should ignore everything except /js
directory, but instead everything is ignored.
Maybe it was an issue of the old node-ignore
. I have tested the case you provided just now, and it works.
The patterns will ignore everything except the FILES inside /js
directory, NOT except the /js
directory itself. Git doesn't track an empty directory.
Upgrades
node-ignore
to the latest3.0.11
to solve several known issues, including:However, it is a pity that there is no existing test cases about
'.runtimeignore'
.