mirror of https://github.com/nodejs/node.git
Wrong number of arguments being passed to emit in AfterOpen
parent
65324866bc
commit
c9cb41cf80
|
@ -138,7 +138,7 @@ AfterOpen (eio_req *req)
|
||||||
|
|
||||||
HandleScope scope;
|
HandleScope scope;
|
||||||
Local<Value> argv[1] = { Integer::New(req->result) };
|
Local<Value> argv[1] = { Integer::New(req->result) };
|
||||||
promise->EmitSuccess(2, argv);
|
promise->EmitSuccess(1, argv);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue