Skip to content

Commit

Permalink
Update lib/internal/streams/readable.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ronag authored Jul 6, 2021
1 parent 65d6915 commit 20f8a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/streams/readable.js
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ async function* createAsyncIterator(stream, options) {
let error;
eos(stream, { writable: false }, (err) => {
error = err || null;
callback.call(stream);
callback();
callback = nop;
});

Expand Down

0 comments on commit 20f8a21

Please sign in to comment.