Skip to content

Commit e21fa83

Browse files
gengjiawenBridgeAR
authored andcommitted
src: fix wrong enum reference in node.cc
PR-URL: #26430 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Richard Lau <[email protected]>
1 parent 0d810b7 commit e21fa83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/node.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ MaybeLocal<Value> StartMainThreadExecution(Environment* env) {
398398
}
399399

400400
if (env->options()->prof_process) {
401-
env->set_execution_mode(Environment::ExecutionMode::kPrintBashCompletion);
401+
env->set_execution_mode(Environment::ExecutionMode::kProfProcess);
402402
return StartExecution(env, "internal/main/prof_process");
403403
}
404404

0 commit comments

Comments
 (0)