diff --git a/src/vendor/micromatch/index.js b/src/vendor/micromatch/index.js index 308a23d2c..ec9afe226 100644 --- a/src/vendor/micromatch/index.js +++ b/src/vendor/micromatch/index.js @@ -459,7 +459,7 @@ micromatch.parse = (patterns, options) => { micromatch.braces = (pattern, options) => { if (typeof pattern !== 'string') throw new TypeError('Expected a string') - if ((options && options.nobrace === true) || !/\{.*\}/.test(pattern)) { + if ((options && options.nobrace === true) || !/\^{(1,)[^\}]*/.test(pattern)) { return [pattern] } return braces(pattern, options)