You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using your wonderful library and encountered a problem. We follow some style guide, and so we got test files in the same folders than library files. In order to match "everything that is not a test file", we use the pattern '**/!(*spec).js'. We also have one file that we absolutely need to have before the others.
So, taking back the layout of the README.md file, if you do a
Thanks! Yes, that's right! It needs some smarts to better compare the precision of: files/b.txt and files/**/!(*spec).txt. Currently, the latter – even with the *s removed – is longer than the former so it's treated as more precise. We could add logic, any pattern with ** in it is always "less precise" than others? Are you able to send a PR?
Hello there,
I'm using your wonderful library and encountered a problem. We follow some style guide, and so we got test files in the same folders than library files. In order to match "everything that is not a test file", we use the pattern '**/!(*spec).js'. We also have one file that we absolutely need to have before the others.
So, taking back the layout of the README.md file, if you do a
The library will answer:
Obviously b.txt is not on top. WDYT ?
Thanks, regards
The text was updated successfully, but these errors were encountered: