From 02a61dd6bd7f7c91eee0906695f23fdd20cacf03 Mon Sep 17 00:00:00 2001 From: Vadim Date: Thu, 29 Dec 2022 02:13:45 +0300 Subject: [PATCH] src: fix typo in `node_file.cc` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `undefinec` -> `undefined` PR-URL: https://github.com/nodejs/node/pull/45998 Reviewed-By: Michaƫl Zasso Reviewed-By: Colin Ihrig Reviewed-By: Mohammed Keyvanzadeh Reviewed-By: Luigi Pinca Reviewed-By: Harshitha K P Reviewed-By: Yagiz Nizipli --- src/node_file.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_file.cc b/src/node_file.cc index e7d40c40d5b6fb..ac9d1ecd263d8d 100644 --- a/src/node_file.cc +++ b/src/node_file.cc @@ -1224,7 +1224,7 @@ static void Symlink(const FunctionCallbackInfo& args) { TRACE_STR_COPY(*path)) AsyncDestCall(env, req_wrap_async, args, "symlink", *path, path.length(), UTF8, AfterNoArgs, uv_fs_symlink, *target, *path, flags); - } else { // symlink(target, path, flags, undefinec, ctx) + } else { // symlink(target, path, flags, undefined, ctx) CHECK_EQ(argc, 5); FSReqWrapSync req_wrap_sync; FS_SYNC_TRACE_BEGIN(symlink);