We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 99d5e61 + d642e72 commit 3abc0bfCopy full SHA for 3abc0bf
1 file changed
samples/Node.js/flow-node.js
@@ -191,7 +191,7 @@ module.exports = flow = function(temporaryFolder) {
191
192
console.log('exist removing ', chunkFilename);
193
fs.unlink(chunkFilename, function(err) {
194
- if (options.onError) options.onError(err);
+ if (err && options.onError) options.onError(err);
195
});
196
197
pipeChunkRm(number + 1);
0 commit comments