summaryrefslogtreecommitdiff
path: root/cli/args/flags.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-02-24 14:23:07 -0500
committerGitHub <noreply@github.com>2023-02-24 19:23:07 +0000
commita27d0885f489f5640e38922fad8c8a1c49ae0aa4 (patch)
tree6bc12ec54ade2b38e79e80a379ad0809d17f559d /cli/args/flags.rs
parent7ad64283a16cb0bfc9671ed482890d005eed9dcc (diff)
feat: add `DENO_NO_PACKAGE_JSON` env var (#17926)
Depends on #17924 Part of #17916
Diffstat (limited to 'cli/args/flags.rs')
-rw-r--r--cli/args/flags.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/args/flags.rs b/cli/args/flags.rs
index 35da62fc8..f77b5b167 100644
--- a/cli/args/flags.rs
+++ b/cli/args/flags.rs
@@ -590,6 +590,7 @@ static ENV_VARIABLES_HELP: &str = r#"ENVIRONMENT VARIABLES:
DENO_DIR Set the cache directory
DENO_INSTALL_ROOT Set deno install's output directory
(defaults to $HOME/.deno/bin)
+ DENO_NO_PACKAGE_JSON Disables auto-resolution of package.json
DENO_NO_PROMPT Set to disable permission prompts on access
(alternative to passing --no-prompt on invocation)
DENO_NO_UPDATE_CHECK Set to disable checking if a newer Deno version is