Skip to content

Commit db1dccb

Browse files
committed
src: fix wrong enum reference in node.cc
1 parent 26cfaf4 commit db1dccb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node.cc

Lines changed: 1 addition & 1 deletion
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)