Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
ronag committed Nov 10, 2021
1 parent f8e42d2 commit 174addb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/internal/streams/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ Transform.prototype._write = function(chunk, encoding, callback) {
}
},
(err) => {
if (called) {
return;
}
process.nextTick(callback, err);
});
}
Expand Down

0 comments on commit 174addb

Please sign in to comment.