diff options
Diffstat (limited to 'deps/npm/node_modules/tar/test/parse-discard.js')
-rw-r--r-- | deps/npm/node_modules/tar/test/parse-discard.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/npm/node_modules/tar/test/parse-discard.js b/deps/npm/node_modules/tar/test/parse-discard.js index 79408c274b..da01a65ccc 100644 --- a/deps/npm/node_modules/tar/test/parse-discard.js +++ b/deps/npm/node_modules/tar/test/parse-discard.js @@ -20,10 +20,10 @@ tap.test("parser test", function (t) { .pipe(parser) .on('entry',function(entry){ if(entry.path === 'c.txt') entry.abort() - + total += entry.size; entry.on('data',function(data){ - dataTotal += data.length + dataTotal += data.length }) }) }) |