summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/tar/lib/parse.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/tar/lib/parse.js')
-rw-r--r--deps/npm/node_modules/tar/lib/parse.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/npm/node_modules/tar/lib/parse.js b/deps/npm/node_modules/tar/lib/parse.js
index 009a85f413..8517c481bc 100644
--- a/deps/npm/node_modules/tar/lib/parse.js
+++ b/deps/npm/node_modules/tar/lib/parse.js
@@ -146,7 +146,7 @@ Parse.prototype._startEntry = function (c) {
e.header = header
e.tar_file_offset = this.position
e.tar_block = this.position / 512
- this.emit("error", e)
+ return this.emit("error", e)
}
switch (tar.types[header.type]) {