We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f09d0cd commit 12c2ea0Copy full SHA for 12c2ea0
1 file changed
src/node_stdio.cc
@@ -27,10 +27,7 @@ EmitInput (Local<Value> input)
27
{
28
HandleScope scope;
29
30
- Local<Array> args = Array::New(1);
31
- args->Set(Integer::New(0), input);
32
-
33
- Local<Value> argv[2] = { String::NewSymbol("data"), args };
+ Local<Value> argv[2] = { String::NewSymbol("data"), input };
34
35
emit->Call(stdio, 2, argv);
36
}
0 commit comments