2.2.3
🐛 Bug Fixes
Fix incorrect grouping of negative patterns to tasks (#118)
Thanks @DudaGod for fix it 🎉
Prior to this fix, not all negative patterns could be applied to tasks. For example:
fg('fixtures/first/**/*.md', {ignore: ['fixtures/**/*.md']}).then(console.log);
Give a task:
{ base: 'fixtures/first',
dynamic: true,
patterns: [ 'fixtures/first/**/*.md' ],
positive: [ 'fixtures/first/**/*.md' ],
negative: [] } // Here must be a negative pattern