Skip to content

2.2.3

Compare
Choose a tag to compare
@mrmlnc mrmlnc released this 02 Oct 08:33
· 528 commits to master since this release

馃悰 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