Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit 4dcf4cf

Browse files
nitsakhcodebytere
authored andcommitted
fix: build when NODE_USE_V8_PLATFORM is not defined
This should go away once we are on the next node version which has this PR merged in nodejs/node#26380
1 parent 19fc7c4 commit 4dcf4cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_v8_platform-inl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ struct V8Platform {
149149
inline void DrainVMTasks(v8::Isolate* isolate) {}
150150
inline void CancelVMTasks(v8::Isolate* isolate) {}
151151
inline void StartTracingAgent() {
152-
if (!trace_enabled_categories.empty()) {
152+
if (!per_process::cli_options->trace_event_categories.empty()) {
153153
fprintf(stderr,
154154
"Node compiled with NODE_USE_V8_PLATFORM=0, "
155155
"so event tracing is not available.\n");

0 commit comments

Comments
 (0)