Skip to content

Commit 48a923a

Browse files
LeoMylesBorins
Leo
authored andcommitted
stream: remove unnecessary parameter
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]>
1 parent 70e9058 commit 48a923a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/_stream_readable.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ Readable.prototype.on = function(ev, fn) {
698698
if (!state.reading) {
699699
process.nextTick(nReadingNextTick, this);
700700
} else if (state.length) {
701-
emitReadable(this, state);
701+
emitReadable(this);
702702
}
703703
}
704704
}

0 commit comments

Comments
 (0)