Skip to content

Commit

Permalink
docs: update TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
ronag committed Dec 7, 2021
1 parent 2d78c87 commit 04d647e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api/readable.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ module.exports = class BodyReadable extends Readable {
}

emit (ev, ...args) {
// Waiting for: https://github.com/nodejs/node/pull/39589
if (ev === 'data') {
// Node < 16.7
this._readableState.dataEmitted = true
} else if (ev === 'error') {
// Node < 16
Expand Down

0 comments on commit 04d647e

Please sign in to comment.