We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b9fd08 commit 863d198Copy full SHA for 863d198
src/node_trace_events.cc
@@ -15,6 +15,7 @@ using v8::FunctionCallbackInfo;
15
using v8::FunctionTemplate;
16
using v8::Int32;
17
using v8::Local;
18
+using v8::NewStringType;
19
using v8::Object;
20
using v8::String;
21
using v8::Value;
@@ -94,7 +95,7 @@ void GetEnabledCategories(const FunctionCallbackInfo<Value>& args) {
94
95
args.GetReturnValue().Set(
96
String::NewFromUtf8(env->isolate(),
97
categories.c_str(),
- v8::NewStringType::kNormal,
98
+ NewStringType::kNormal,
99
categories.size()).ToLocalChecked());
100
}
101
0 commit comments