Skip to content

Commit 095c173

Browse files
committed
Fix prefix concatenation missing slash bug
1 parent b405918 commit 095c173

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/untar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function TarLocalFile(bstream) {
5757
// 2+32+32+8+8+155 = 237 Bytes
5858

5959
if (this.prefix.length) {
60-
this.name = this.prefix + this.name;
60+
this.name = this.prefix + "/" + this.name;
6161
}
6262
bstream.readBytes(12); // 512 - 263 - 237
6363
} else {

0 commit comments

Comments
 (0)