Comparing version 0.2.0 to 0.2.1
@@ -146,5 +146,5 @@ var fs = require('fs'), | ||
} else { | ||
opts.output.end(); | ||
opts.output.once('close', doneFn); | ||
opts.output.once('finish', doneFn); | ||
opts.output.end(); | ||
} | ||
@@ -151,0 +151,0 @@ } else { |
@@ -134,12 +134,15 @@ var util = require('util'), | ||
input.on('error', function(err) { | ||
console.error('Error in input pipe to pipe:', debugId(input), '->', debugId(output), err); | ||
console.trace(); | ||
if (err.code != 'EPIPE') { | ||
console.error('Error in input pipe to pipe:', debugId(input), '->', debugId(output), err); | ||
console.trace(); | ||
} | ||
}); | ||
output.on('error', function(err) { | ||
console.error('Error in output pipe to pipe:', debugId(input), '->', debugId(output), err); | ||
console.log(input); | ||
console.log(output); | ||
console.trace(); | ||
if (err.code != 'EPIPE') { | ||
console.error('Error in output pipe to pipe:', debugId(input), '->', debugId(output), err); | ||
console.log(input); | ||
console.log(output); | ||
console.trace(); | ||
} | ||
}); | ||
@@ -146,0 +149,0 @@ |
{ | ||
"name": "minitask", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "A standard/convention for running tasks over a list of files based around Node core streams2", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
68681
1568