Update dist folder
This commit is contained in:
parent
bf0d0aab2c
commit
a0eb70f475
|
|
@ -4103,9 +4103,6 @@ class Processor {
|
||||||
while (typeof (p = pattern.pattern()) === 'string' &&
|
while (typeof (p = pattern.pattern()) === 'string' &&
|
||||||
(rest = pattern.rest())) {
|
(rest = pattern.rest())) {
|
||||||
const c = t.resolve(p);
|
const c = t.resolve(p);
|
||||||
// we can be reasonably sure that .. is a readable dir
|
|
||||||
if (c.isUnknown() && p !== '..')
|
|
||||||
break;
|
|
||||||
t = c;
|
t = c;
|
||||||
pattern = rest;
|
pattern = rest;
|
||||||
changed = true;
|
changed = true;
|
||||||
|
|
@ -4121,14 +4118,10 @@ class Processor {
|
||||||
// more strings for an unknown entry,
|
// more strings for an unknown entry,
|
||||||
// or a pattern starting with magic, mounted on t.
|
// or a pattern starting with magic, mounted on t.
|
||||||
if (typeof p === 'string') {
|
if (typeof p === 'string') {
|
||||||
// must be final entry
|
// must not be final entry, otherwise we would have
|
||||||
if (!rest) {
|
// concatenated it earlier.
|
||||||
const ifDir = p === '..' || p === '' || p === '.';
|
const ifDir = p === '..' || p === '' || p === '.';
|
||||||
this.matches.add(t.resolve(p), absolute, ifDir);
|
this.matches.add(t.resolve(p), absolute, ifDir);
|
||||||
}
|
|
||||||
else {
|
|
||||||
this.subwalks.add(t, pattern);
|
|
||||||
}
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if (p === minimatch_1.GLOBSTAR) {
|
else if (p === minimatch_1.GLOBSTAR) {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue