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 <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: David Cai <davidcai1993@yahoo.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • 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.