This commit is contained in:
2026-08-14 16:03:47 +01:00
parent fd53e3f4fb
commit dfdc3b2840
2463 changed files with 186456 additions and 111315 deletions
+2 -6
View File
@@ -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));
})));
}
}