Merge pull request #7 from jergason/patch-1
Fix bug in tar.js caused by missing `this` on a variable.
This commit is contained in:
commit
fb15e86c44
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@
|
||||||
|
|
||||||
// this makes sense if the input is greater than 512 bytes
|
// this makes sense if the input is greater than 512 bytes
|
||||||
if (headerArr.length + input.length > this.out.length) {
|
if (headerArr.length + input.length > this.out.length) {
|
||||||
this.out = utils.extend(out, headerArr.length, input.length, blockSize);
|
this.out = utils.extend(this.out, headerArr.length, input.length, blockSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.out.set(input, this.written);
|
this.out.set(input, this.written);
|
||||||
|
|
Loading…
Add table
Reference in a new issue