minimatch 5.1.6 → 5.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/minimatch.js +3 -0
- package/package.json +1 -1
package/minimatch.js
CHANGED
|
@@ -533,6 +533,9 @@ class Minimatch {
|
|
|
533
533
|
continue
|
|
534
534
|
}
|
|
535
535
|
|
|
536
|
+
// coalesce consecutive non-globstar * characters
|
|
537
|
+
if (c === '*' && stateChar === '*') continue
|
|
538
|
+
|
|
536
539
|
// if we already have a stateChar, then it means
|
|
537
540
|
// that there was something like ** or +? in there.
|
|
538
541
|
// Handle the stateChar, then proceed with this one.
|