Comparing version 1.2.4 to 1.2.5
@@ -108,5 +108,5 @@ 'use strict'; | ||
function onResult() { | ||
var justEnd = end && !isFsWrite, | ||
justFinish = write && !isFsRead, | ||
bothFinish = end && finish; | ||
var justEnd = end && !options.end; | ||
var justFinish = finish && !options.end; | ||
var bothFinish = end && finish; | ||
@@ -118,3 +118,3 @@ if (readError && finish) { | ||
} else if (writeError && isGunzip) { | ||
onEnd(); | ||
onEnd(); | ||
} else if (open && readError) { | ||
@@ -121,0 +121,0 @@ onEnd(); |
{ | ||
"name": "pipe-io", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
@@ -31,3 +31,3 @@ "description": "Pipe streams and handle events", | ||
}, | ||
"main": "./lib/pipe.js", | ||
"main": "lib/pipe.js", | ||
"devDependencies": { | ||
@@ -34,0 +34,0 @@ "coveralls": "^2.11.6", |
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
12128