Skip to content

Commit aa51181

Browse files
committed
Fix delayAsyncDestroy returning undefined
1 parent 6562e77 commit aa51181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/utils/delay-async-destroy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module.exports = stream => {
44
if (stream.listenerCount('error') !== 0) {
5-
return;
5+
return stream;
66
}
77

88
stream.__destroy = stream._destroy;

0 commit comments

Comments
 (0)