Skip to content

Commit c4fe819

Browse files
committed
fix: resolve static analysis defects
Signed-off-by: Hosung Kim [email protected]
1 parent 77ce776 commit c4fe819

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/node/src/node_file.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,7 @@ int MKDirpAsync(uv_loop_t* loop,
14551455
std::string dirname = path.substr(0,
14561456
path.find_last_of(kPathSeparator));
14571457
if (dirname != path) {
1458-
req_wrap->continuation_data()->PushPath(std::move(path));
1458+
req_wrap->continuation_data()->PushPath(path);
14591459
req_wrap->continuation_data()->PushPath(std::move(dirname));
14601460
} else if (req_wrap->continuation_data()->paths().size() == 0) {
14611461
err = UV_EEXIST;

0 commit comments

Comments
 (0)