mirror of
https://github.com/tj-actions/changed-files
synced 2025-03-04 05:17:56 +00:00
Added missing changes and modified dist assets.
This commit is contained in:
parent
17107f43d7
commit
305db886e7
2 changed files with 10 additions and 3 deletions
11
dist/index.js
generated
vendored
11
dist/index.js
generated
vendored
|
@ -34916,7 +34916,12 @@ const util = __nccwpck_require__(3837);
|
|||
const braces = __nccwpck_require__(610);
|
||||
const picomatch = __nccwpck_require__(8569);
|
||||
const utils = __nccwpck_require__(479);
|
||||
const isEmptyString = val => val === '' || val === './';
|
||||
|
||||
const isEmptyString = v => v === '' || v === './';
|
||||
const hasBraces = v => {
|
||||
const index = v.indexOf('{');
|
||||
return index > -1 && v.indexOf('}', index) > -1;
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns an array of strings that match one or more glob patterns.
|
||||
|
@ -35357,7 +35362,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) || !hasBraces(pattern)) {
|
||||
return [pattern];
|
||||
}
|
||||
return braces(pattern, options);
|
||||
|
@ -35376,6 +35381,8 @@ micromatch.braceExpand = (pattern, options) => {
|
|||
* Expose micromatch
|
||||
*/
|
||||
|
||||
// exposed for tests
|
||||
micromatch.hasBraces = hasBraces;
|
||||
module.exports = micromatch;
|
||||
|
||||
|
||||
|
|
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue