Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_trace_events.cc')
-rw-r--r--src/node_trace_events.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/node_trace_events.cc b/src/node_trace_events.cc
index 1fad37743fb..74ba5bb4800 100644
--- a/src/node_trace_events.cc
+++ b/src/node_trace_events.cc
@@ -134,7 +134,7 @@ void NodeCategorySet::Initialize(Local<Object> target,
target->Set(env->context(),
FIXED_ONE_BYTE_STRING(env->isolate(), "CategorySet"),
category_set->GetFunction(env->context()).ToLocalChecked())
- .FromJust();
+ .Check();
Local<String> isTraceCategoryEnabled =
FIXED_ONE_BYTE_STRING(env->isolate(), "isTraceCategoryEnabled");
@@ -145,9 +145,9 @@ void NodeCategorySet::Initialize(Local<Object> target,
Local<Object> binding = context->GetExtrasBindingObject();
target->Set(context, isTraceCategoryEnabled,
binding->Get(context, isTraceCategoryEnabled).ToLocalChecked())
- .FromJust();
+ .Check();
target->Set(context, trace,
- binding->Get(context, trace).ToLocalChecked()).FromJust();
+ binding->Get(context, trace).ToLocalChecked()).Check();
}
} // namespace node