Update dist folder

This commit is contained in:
Riccardo Rigutini 2023-09-04 17:59:14 +00:00
parent bf0d0aab2c
commit a0eb70f475
2 changed files with 5 additions and 12 deletions

15
dist/index.js generated vendored
View File

@ -4103,9 +4103,6 @@ class Processor {
while (typeof (p = pattern.pattern()) === 'string' &&
(rest = pattern.rest())) {
const c = t.resolve(p);
// we can be reasonably sure that .. is a readable dir
if (c.isUnknown() && p !== '..')
break;
t = c;
pattern = rest;
changed = true;
@ -4121,14 +4118,10 @@ class Processor {
// more strings for an unknown entry,
// or a pattern starting with magic, mounted on t.
if (typeof p === 'string') {
// must be final entry
if (!rest) {
const ifDir = p === '..' || p === '' || p === '.';
this.matches.add(t.resolve(p), absolute, ifDir);
}
else {
this.subwalks.add(t, pattern);
}
// must not be final entry, otherwise we would have
// concatenated it earlier.
const ifDir = p === '..' || p === '' || p === '.';
this.matches.add(t.resolve(p), absolute, ifDir);
continue;
}
else if (p === minimatch_1.GLOBSTAR) {

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long