-
-
Notifications
You must be signed in to change notification settings - Fork 579
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
Globstar not working when there is a directory after it #240
Comments
Yes, it's a bug. However it only applies to the initial This is likely related to #239, in that I suspect they have the same underlying cause. |
Actually, when I touch the file with
I do get an Sorry, I forgot to add environment info to my issue: OS: Ubuntu 14.04.2
|
Thanks @es128, this has solved my issue! 😃 |
Correctly indicate which node versions support N-API
Hopefully I've narrowed down this issue enough to make sense.
Here is a test app (test.js):
Setting up environment:
Expected output:
Actual output:
It is not picking up the file because the globstar is only matching one level of directories, not one or more as I expected. I've tested this in minimatch and anymatch and these work as expected.
In file test2.js:
Is this a bug? Thanks!
The text was updated successfully, but these errors were encountered: