Wrong number of arguments being passed to emit in AfterOpen

This commit is contained in:
Ryan committed 2009-06-28 19:34:54 +02:00
1 parent 65324866bc
commit c9cb41cf80
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}