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