-
Notifications
You must be signed in to change notification settings - Fork 129
Closed
Description
Environment
- OS Version: MacOS Big Sur 11.4
- Node.js Version: q2.22
- Fast-glob: 3.2.7
Actual behavior
Applying pattern that has ! doesn't seem to ignore correctly. When same, reversed pattern is used in ignore option, it works properly
Expected behavior
Steps to reproduce
- See the image.
Code sample
const fg = require('fast-glob');
const entries = fg.sync(['./insertyourtestfolderhere/!(*.d).{ts,tsx}'], {
dot: true,
// ignore: ['./insertyourtestfolderhere/(*.d).{ts,tsx}'],
});
console.log(entries);
leethree, peterp, yamadashy, maku693, stefafafan and 2 more