Skip to content

An entry that should be included is ignored #138

@zkochan

Description

@zkochan

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))

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions