-
-
Notifications
You must be signed in to change notification settings - Fork 190
Closed
micromatch/picomatch
#78Description
(Thanks for reporting an issue to micromatch! If you haven't already read the contributor guidelines, Please do that now, then proceed to fill out the details below.)
Please describe the minimum necessary steps to reproduce this issue:
const mm = require('micromatch');
const files = ['yoooo.js','foo/baz/something.js', 'bar/baz/something.js', 'anything-else/foo.js', 'anything/__tests__/else.js'];
mm(files, '!(bar/baz|foo|**/__tests_)/**/*.js')
What is happening that shouldn't be?
[ 'foo/baz/something.js',
'bar/baz/something.js',
'anything-else/foo.js',
'anything/__tests__/else.js' ]
all the files match. this is with 4.0.2
What should be happening instead?
[ 'anything-else/foo.js' ]
this worked correctly in 3.x
tylersmalley and tlvince
Metadata
Metadata
Assignees
Labels
No labels