diff --git a/src/node_file.cc b/src/node_file.cc index ccb9c65cfaf63c..f96b46c812d938 100644 --- a/src/node_file.cc +++ b/src/node_file.cc @@ -831,6 +831,7 @@ static void Symlink(const FunctionCallbackInfo& args) { if (req_wrap != nullptr) { // symlink(target, path, flags, req) AsyncDestCall(env, req_wrap, args, "symlink", *path, path.length(), UTF8, AfterNoArgs, uv_fs_symlink, *target, *path, flags); + req_wrap->SetReturnValue(args); } else { // symlink(target, path, flags, undefinec, ctx) CHECK_EQ(argc, 5); fs_req_wrap req;