-
Notifications
You must be signed in to change notification settings - Fork 126
Closed
Description
Environment
- OS Version: Linux
- Node.js Version: 10.12.0
Actual behavior
An entry is ignored even though it should not be matched by any ignore patterns
Expected behavior
'packages/foo-foo/package.json'
is not ignored by the ignore pattern: !**/foo/**/package.json
Code sample
You can clone this repo and run npm install && node index.js
'use strict'
const glob = require('fast-glob')
glob([
'**/packages/**/package.json',
'!**/foo/**/package.json',
])
.then((entries) => console.log(entries))