review: note why Deno maps to no value-taking globals
Per review polish: a comment on the empty deno set in _INTERPRETER_WITH_ARG saves future readers a double-take — Deno's inline-script entry is the bare eval subcommand, and its dash flags use = values.
This commit is contained in:
@@ -596,6 +596,9 @@ _INTERPRETER_WITH_ARG = {
|
||||
"php": {"-c", "-d", "-z"},
|
||||
"powershell": {"-configurationname", "-custompipename", "-executionpolicy", "-inputformat", "-outputformat",
|
||||
"-settingsfile", "-version", "-windowstyle", "-workingdirectory"},
|
||||
# Deno deliberately maps to no value-taking globals: its inline-script entry is the
|
||||
# bare `eval` subcommand (first-arg fast path below), and its dash flags that precede
|
||||
# `eval` (--ext, --no-check, ...) never swallow the next token as a value.
|
||||
"bun": {"--config", "--cwd", "--env-file", "--preload", "--require"}, "deno": set(),
|
||||
}
|
||||
_READ_TOOL_EXEC_FLAGS = {
|
||||
|
||||
Reference in New Issue
Block a user