Skip to content

Commit 43a29f5

Browse files
shuheitjfontaine
authored andcommitted
doc: remove an unused arg in process.stdin.
The argument of process.stdin's readable event handler is not used.
1 parent f0d8705 commit 43a29f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/process.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ Example of opening standard input and listening for both events:
170170

171171
process.stdin.setEncoding('utf8');
172172

173-
process.stdin.on('readable', function(chunk) {
173+
process.stdin.on('readable', function() {
174174
var chunk = process.stdin.read();
175175
if (chunk !== null) {
176176
process.stdout.write('data: ' + chunk);

0 commit comments

Comments
 (0)