Skip to content

Commit 10b8991

Browse files
committed
process: remove std::string
1 parent 06cc697 commit 10b8991

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/node_process_methods.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ static void Cwd(const FunctionCallbackInfo<Value>& args) {
170170
// that the current working dir was likely removed.
171171
err_msg =
172172
err_msg +
173-
std::string(", the current working directory was likely removed ") +
174-
std::string("without changing the working directory");
173+
", the current working directory was likely removed " +
174+
"without changing the working directory";
175175
}
176176
return env->ThrowUVException(err, "uv_cwd", err_msg.c_str());
177177
}

0 commit comments

Comments
 (0)