From 03ef8a18e74fb4a6c59045f1454d4f49ccf88f20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A1=BE=E5=86=AC=E6=B4=8B?= Date: Thu, 31 Jul 2025 03:28:15 +0000 Subject: [PATCH] symlink_core.cpp add empty lines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 顾冬洋 --- interfaces/kits/js/src/mod_fs/properties/symlink_core.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/interfaces/kits/js/src/mod_fs/properties/symlink_core.cpp b/interfaces/kits/js/src/mod_fs/properties/symlink_core.cpp index 217f429fd..3e62d10c6 100644 --- a/interfaces/kits/js/src/mod_fs/properties/symlink_core.cpp +++ b/interfaces/kits/js/src/mod_fs/properties/symlink_core.cpp @@ -35,6 +35,7 @@ FsResult SymlinkCore::DoSymlink(const string &target, const string &srcPat HILOGE("Failed to request heap memory."); return FsResult::Error(ENOMEM); } + int ret = uv_fs_symlink(nullptr, symlinkReq.get(), target.c_str(), srcPath.c_str(), 0, nullptr); if (ret < 0) { HILOGE("Failed to create a link for old path"); -- Gitee