Skip to content

Commit 3dab3a4

Browse files
committed
src: correct the --vfs-load routing comment
--vfs-load no longer picks one of the --vfs-mount sources; it names the source it mounts and runs. Describe what it does now. Signed-off-by: Philipp Dunkel <pip@pipobscure.com>
1 parent 8ab4cb9 commit 3dab3a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/node.cc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ MaybeLocal<Value> StartExecution(Environment* env,
392392
return StartExecution(env, "internal/main/watch_mode");
393393
}
394394

395-
// --vfs-load takes the entry point from a --vfs-mount, selected in
395+
// --vfs-load takes the entry point from the source it names, mounted in
396396
// prepareExecution(), so route to run_main_module even with no positional
397397
// argument rather than falling through to the REPL/stdin.
398398
if ((!first_argv.empty() && first_argv != "-") || env->options()->vfs_load) {

0 commit comments

Comments
 (0)