mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Wrong number of arguments being passed to emit in AfterOpen
This commit is contained in:
1 parent
65324866bc
commit
c9cb41cf80
1 file changed
+1
-1
+1
-1
@@ -138,7 +138,7 @@ AfterOpen (eio_req *req)
|
||||
|
||||
HandleScope scope;
|
||||
Local<Value> argv[1] = { Integer::New(req->result) };
|
||||
promise->EmitSuccess(2, argv);
|
||||
promise->EmitSuccess(1, argv);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user