Wrong number of arguments being passed to emit in AfterOpen

pull/22966/head
Ryan 2009-06-28 19:34:54 +02:00
parent 65324866bc
commit c9cb41cf80
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }