We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ac68cf commit 1030646Copy full SHA for 1030646
src/node_process_methods.cc
@@ -170,8 +170,8 @@ static void Cwd(const FunctionCallbackInfo<Value>& args) {
170
// that the current working dir was likely removed.
171
err_msg =
172
err_msg +
173
- std::string(", the current working directory was likely removed ") +
174
- std::string("without changing the working directory");
+ ", the current working directory was likely removed " +
+ "without changing the working directory";
175
}
176
return env->ThrowUVException(err, "uv_cwd", err_msg.c_str());
177
0 commit comments