Comparing version 1.2.3 to 1.2.4
@@ -40,3 +40,5 @@ 'use strict'; | ||
isFsWrite = write instanceof fs.WriteStream, | ||
isGunzip = write instanceof zlib.Gunzip, | ||
isGunzip = allStreams.some(function(write) { | ||
return write instanceof zlib.Gunzip | ||
}), | ||
@@ -101,2 +103,5 @@ rm = function(event, stream, fn) { | ||
error = e; | ||
if (!end && !finish) | ||
onResult(); | ||
} | ||
@@ -119,2 +124,4 @@ | ||
onEnd(); | ||
} else if (error && isGunzip) { | ||
onEnd(); | ||
} | ||
@@ -121,0 +128,0 @@ } |
{ | ||
"name": "pipe-io", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
@@ -38,4 +38,5 @@ "description": "Pipe streams and handle events", | ||
"redrun": "^5.9.2", | ||
"tape": "^4.2.0" | ||
"tape": "^4.2.0", | ||
"tar-fs": "^1.14.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12040
150
7