-
Notifications
You must be signed in to change notification settings - Fork 135
Closed
Description
Environment
- OS Version: MacOS
- Node.js Version: 12.14.0
There was a regression in https://github.com/dotansimha/graphql-code-generator and after investigating the issue, I've concluded that there's a regression in [email protected].
You can see the original issue here, which has a reproduction in codesandbox: dotansimha/graphql-code-generator#3512
The problem:
fast-glob/src/utils/pattern.ts
Lines 106 to 118 in 1757299
| export function getPatternParts(pattern: Pattern, options: MicromatchOptions): Pattern[] { | |
| const info = micromatch.scan(pattern, { | |
| ...options, | |
| parts: true | |
| }); | |
| // See micromatch/picomatch#58 for more details | |
| if (info.parts.length === 0) { | |
| return [pattern]; | |
| } | |
| return info.parts; | |
| } |
With [email protected] (latest version), info doesn't seem to have a parts property.
davalopar, cmrdlnn, HHogg, ybiquitous, emjaksa and 3 more