| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4c643c0 commit 95e897e
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -193,7 +193,7 @@ static void GetInterfaceAddresses(const FunctionCallbackInfo<Value>& args) { | |||
| 193 | 193 | // they name the interface from any input that uses UTF-8, which should be | |
| 194 | 194 | // the most frequent case by far these days.) | |
| 195 | 195 | name = String::NewFromUtf8(isolate, raw_name, | |
| 196 | - v8::NewStringType::kNormal).ToLocalChecked(); | ||
| 196 | + NewStringType::kNormal).ToLocalChecked(); | ||
| 197 | 197 | ||
| 198 | 198 | snprintf(mac.data(), | |
| 199 | 199 | mac.size(), | |
@@ -253,7 +253,7 @@ static void GetHomeDirectory(const FunctionCallbackInfo<Value>& args) { | |||
| 253 | 253 | ||
| 254 | 254 | Local<String> home = String::NewFromUtf8(env->isolate(), | |
| 255 | 255 | buf, | |
| 256 | - v8::NewStringType::kNormal, | ||
| 256 | + NewStringType::kNormal, | ||
| 257 | 257 | len).ToLocalChecked(); | |
| 258 | 258 | args.GetReturnValue().Set(home); | |
| 259 | 259 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments