Skip to content

Commit

Permalink
stream: remove unnecessary parameter
Browse files Browse the repository at this point in the history
Delete invalid parameter.

Fixes: #8153
PR-URL: #12767
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: David Cai <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
Leo authored and addaleax committed May 3, 2017
1 parent cd32b77 commit d6a6bcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/_stream_readable.js
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ Readable.prototype.on = function(ev, fn) {
if (!state.reading) {
process.nextTick(nReadingNextTick, this);
} else if (state.length) {
emitReadable(this, state);
emitReadable(this);
}
}
}
Expand Down

0 comments on commit d6a6bcd

Please sign in to comment.