We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2093f13 commit 05059a2Copy full SHA for 05059a2
src/node_os.cc
@@ -198,7 +198,7 @@ static void GetInterfaceAddresses(const FunctionCallbackInfo<Value>& args) {
198
// they name the interface from any input that uses UTF-8, which should be
199
// the most frequent case by far these days.)
200
name = String::NewFromUtf8(isolate, raw_name,
201
- v8::NewStringType::kNormal).ToLocalChecked();
+ NewStringType::kNormal).ToLocalChecked();
202
203
snprintf(mac.data(),
204
mac.size(),
@@ -258,7 +258,7 @@ static void GetHomeDirectory(const FunctionCallbackInfo<Value>& args) {
258
259
Local<String> home = String::NewFromUtf8(env->isolate(),
260
buf,
261
- v8::NewStringType::kNormal,
+ NewStringType::kNormal,
262
len).ToLocalChecked();
263
args.GetReturnValue().Set(home);
264
}
0 commit comments