diff --git a/dist/post_run/index.js b/dist/post_run/index.js index 634702e..dc689b1 100644 --- a/dist/post_run/index.js +++ b/dist/post_run/index.js @@ -26482,6 +26482,9 @@ function parse (pattern, isSub) { continue } + // coalesce consecutive non-globstar * characters + if (c === '*' && stateChar === '*') continue + // if we already have a stateChar, then it means // that there was something like ** or +? in there. // Handle the stateChar, then proceed with this one. diff --git a/dist/run/index.js b/dist/run/index.js index e043c8f..caf15d3 100644 --- a/dist/run/index.js +++ b/dist/run/index.js @@ -26482,6 +26482,9 @@ function parse (pattern, isSub) { continue } + // coalesce consecutive non-globstar * characters + if (c === '*' && stateChar === '*') continue + // if we already have a stateChar, then it means // that there was something like ** or +? in there. // Handle the stateChar, then proceed with this one.