From 13da316256c85e69ca3acafff3c7a899918b3501 Mon Sep 17 00:00:00 2001 From: Sho Miyamoto Date: Thu, 15 Feb 2018 12:43:59 +0900 Subject: [PATCH] src: add missing SetReturnValue in Symlink of node_file.cc --- src/node_file.cc | 1 + 1 file changed, 1 insertion(+) 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;