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.
callback
1 parent 870e14d commit 11bdc64Copy full SHA for 11bdc64
src/streams/ReadStream.ts
@@ -121,6 +121,7 @@ class ReadStream extends Readable {
121
if (this._fd) {
122
this._fs.close(this._fd, (err_) => {
123
this._error(err_ || err);
124
+ callback(err_);
125
});
126
} else {
127
callback(err);
src/streams/WriteStream.ts
@@ -136,6 +136,7 @@ class WriteStream extends Writable {
136
137
138
139
140
141
142
0 commit comments