question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

An entry that should be included is ignored

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mrmlnccommented, Nov 11, 2018

I’ll take a look at the problem in the micromatch package.

1reaction
mrmlnccommented, Nov 10, 2018

Thanks for issue. I will look into it soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Making Adjusting Entries for Unrecorded Items | Wolters Kluwer
We'll show you how to rectify everything from bad debts to depreciation to keep your books organized. Certain end-of-period adjustments must be made...
Read more >
[Bug] JUnit Reporter doesn't include ignored methods #1211
I believe that JUnitReportReporter should be compliant with the JUnit 4.12 rules and thus should include the disabled/ ignored tests (the ...
Read more >
JUnit's @Ignore - java - Stack Overflow
I'm hoping the junit xml report formatter, used when running tests from ant, will one day include the ignored count (and the reasons)...
Read more >
git-check-ignore Documentation - Git
If no pattern matches a given path, nothing will be output for that path; this means that path will not be ignored.
Read more >
Ignoring Things - Research Computing Summer School
The exclamation point operator will include a previously excluded entry. # Ignoring all data Files in a Directory. Given a directory structure that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found