formacao
This commit is contained in:
+2
-6
@@ -87,9 +87,7 @@ export class ReadEntry extends Minipass {
|
||||
this.ctime = header.ctime;
|
||||
/* c8 ignore start */
|
||||
this.linkpath =
|
||||
header.linkpath ?
|
||||
normalizeWindowsPath(header.linkpath)
|
||||
: undefined;
|
||||
header.linkpath ? normalizeWindowsPath(header.linkpath) : undefined;
|
||||
/* c8 ignore stop */
|
||||
this.uname = header.uname;
|
||||
this.gname = header.gname;
|
||||
@@ -127,9 +125,7 @@ export class ReadEntry extends Minipass {
|
||||
// we slurp in everything except for the path attribute in
|
||||
// a global extended header, because that's weird. Also, any
|
||||
// null/undefined values are ignored.
|
||||
return !(v === null ||
|
||||
v === undefined ||
|
||||
(k === 'path' && gex));
|
||||
return !(v === null || v === undefined || (k === 'path' && gex));
|
||||
})));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user