diff --git a/src/file.cc b/src/file.cc index e1aaa4f880c..a7943e4b63e 100644 --- a/src/file.cc +++ b/src/file.cc @@ -138,7 +138,7 @@ AfterOpen (eio_req *req) HandleScope scope; Local argv[1] = { Integer::New(req->result) }; - promise->EmitSuccess(2, argv); + promise->EmitSuccess(1, argv); return 0; }