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