From bcde2d1ba93e2f4f7e41e55be971e207eb2a1de3 Mon Sep 17 00:00:00 2001 From: Hosung Kim Date: Tue, 26 Dec 2023 11:20:19 +0900 Subject: [PATCH] fix: resolve static analysis defects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Hosung Kim hs852.kim@samsung.com --- deps/node/src/node_file.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/node/src/node_file.cc b/deps/node/src/node_file.cc index de5c455c7a..56dc1507ea 100644 --- a/deps/node/src/node_file.cc +++ b/deps/node/src/node_file.cc @@ -1455,7 +1455,7 @@ int MKDirpAsync(uv_loop_t* loop, std::string dirname = path.substr(0, path.find_last_of(kPathSeparator)); if (dirname != path) { - req_wrap->continuation_data()->PushPath(std::move(path)); + req_wrap->continuation_data()->PushPath(path); req_wrap->continuation_data()->PushPath(std::move(dirname)); } else if (req_wrap->continuation_data()->paths().size() == 0) { err = UV_EEXIST;