-
Notifications
You must be signed in to change notification settings - Fork 101
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
globs with multiple expanded parts broken in 3.2.0 #257
Comments
Just checked the latest version on Windows 10 and WSL (Ubuntu). Unfortunately, I cannot reproduce your problem. Any additional steps/suggestions? Maybe you have a repository?
const fg = require('.');
const entries = fg.sync('packages/@react-spectrum/*/docs/*.mdx');
// + absolute, cwd
console.dir(entries, { colors: true }); [
'packages/@react-spectrum/button/docs/test.mdx',
'packages/@react-spectrum/radio/docs/test.mdx'
] |
I may be having a similar problem? Updated to 3.2.1 and this now fails and returns no results: fg.sync([`./packages/*/package.json`], {
absolute: true,
cwd: '~/repos/nimbus', // is absolute in code
}); Edit: If I remove the leading |
Thanks, @milesj! I'll check it today. |
Confirm. The pattern with leading dot works incorrectly for deep reading. I'll fix it today. |
I'm published a release ( Thanks for the feedback 🎉 |
Is this issue really fixed in |
@ondratra, please create a separated issue with steps hot to I can reproduce your problem. |
Environment
Actual Behavior
Patterns with multiple glob parts that are broken now.
fast-glob@3.2.0:
Expected Behavior
fast-glob@3.1.1:
The text was updated successfully, but these errors were encountered: