formacao
This commit is contained in:
+2
-6
@@ -90,9 +90,7 @@ class ReadEntry extends minipass_1.Minipass {
|
||||
this.ctime = header.ctime;
|
||||
/* c8 ignore start */
|
||||
this.linkpath =
|
||||
header.linkpath ?
|
||||
(0, normalize_windows_path_js_1.normalizeWindowsPath)(header.linkpath)
|
||||
: undefined;
|
||||
header.linkpath ? (0, normalize_windows_path_js_1.normalizeWindowsPath)(header.linkpath) : undefined;
|
||||
/* c8 ignore stop */
|
||||
this.uname = header.uname;
|
||||
this.gname = header.gname;
|
||||
@@ -130,9 +128,7 @@ class ReadEntry extends minipass_1.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