Comparing version 1.1.34 to 1.1.35
@@ -80,4 +80,6 @@ (function () { | ||
callWhenOpen(write, function(e) { | ||
if (e || end && error) { | ||
e && onError(e); | ||
if (e) | ||
onWriteError(e); | ||
if (end && readError) { | ||
onEnd(); | ||
@@ -84,0 +86,0 @@ } else { |
{ | ||
"name": "pipe-io", | ||
"version": "1.1.34", | ||
"version": "1.1.35", | ||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
@@ -5,0 +5,0 @@ "description": "Pipe streams and handle events", |
@@ -90,2 +90,9 @@ (function() { | ||
test('file1 | file2: error read/write EISDIR', function(t) { | ||
tryPipe(__dirname, '/', function(error) { | ||
t.equal(error.code, 'EISDIR', 'read/write EISDIR'); | ||
t.end(); | ||
}); | ||
}); | ||
test('file1 | gzip | file2: no errors', function(t) { | ||
@@ -92,0 +99,0 @@ var tmp = os.tmpdir(), |
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
17052
290