From 7f450b58e1ca1c769f073e11366f676e475672e1 Mon Sep 17 00:00:00 2001 From: Jamison Dance Date: Sat, 22 Oct 2011 01:12:59 -0600 Subject: [PATCH] Fix bug in tar.js caused by missing `this` on a variable. --- lib/tar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tar.js b/lib/tar.js index e670b21..094a50c 100644 --- a/lib/tar.js +++ b/lib/tar.js @@ -82,7 +82,7 @@ // this makes sense if the input is greater than 512 bytes 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);