-
-
Notifications
You must be signed in to change notification settings - Fork 292
Open
Description
Trying to match
react
react/react-shoes
react-shoes
but not
@testing-library/react
@banana/react
Pattern react matches first and last 2:
console.log(
minimatch.match(
[
'react',
'react/react-shoes',
'react-shoes',
'@testing-library/react',
'@banana/react',
],
'react',
{ matchBase: true }
)
);
prints out
[ 'react', '@testing-library/react', '@banana/react' ]
Pattern react* matches ALL the strings.
Things like react[!@] match nothing :(
Am a bit stuck
Metadata
Metadata
Assignees
Labels
No labels