Skip to content

Commit cd869f7

Browse files
committed
Revert "cli: fix can't execute /dev/stdin on linux (#54200)"
This reverts commit b998fde.
1 parent bba8b9a commit cd869f7

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
@@ -383,7 +383,7 @@ MaybeLocal<Value> StartExecution(Environment* env, StartExecutionCallback cb) {
383383
return StartExecution(env, "internal/main/watch_mode");
384384
}
385385

386-
if (!first_argv.empty() && first_argv != "-" && first_argv != "/dev/stdin") {
386+
if (!first_argv.empty() && first_argv != "-") {
387387
return StartExecution(env, "internal/main/run_main_module");
388388
}
389389

0 commit comments

Comments
 (0)