We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d743e6 commit 216f751Copy full SHA for 216f751
src/node_trace_events.cc
@@ -14,6 +14,7 @@ using v8::Context;
14
using v8::FunctionCallbackInfo;
15
using v8::FunctionTemplate;
16
using v8::Local;
17
+using v8::NewStringType;
18
using v8::Object;
19
using v8::String;
20
using v8::Value;
@@ -91,7 +92,7 @@ void GetEnabledCategories(const FunctionCallbackInfo<Value>& args) {
91
92
args.GetReturnValue().Set(
93
String::NewFromUtf8(env->isolate(),
94
categories.c_str(),
- v8::NewStringType::kNormal,
95
+ NewStringType::kNormal,
96
categories.size()).ToLocalChecked());
97
}
98
0 commit comments