From 66fbdd2ed4b5ecab8a51278cd76bce7adedb4fc2 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Mon, 18 Apr 2022 20:08:30 +0100 Subject: feat: Add DENO_NO_PROMPT variable (#14209) This commit adds support for "DENO_NO_PROMPT" env variable, that can be used instead of "--no-prompt" flag to completely disable permission prompts. --- cli/tests/integration/test_tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/tests/integration/test_tests.rs') diff --git a/cli/tests/integration/test_tests.rs b/cli/tests/integration/test_tests.rs index bac50f16d..3e2df9113 100644 --- a/cli/tests/integration/test_tests.rs +++ b/cli/tests/integration/test_tests.rs @@ -288,13 +288,13 @@ itest!(steps_output_within { }); itest!(no_prompt_by_default { - args: "test test/no_prompt_by_default.ts", + args: "test --quiet test/no_prompt_by_default.ts", exit_code: 1, output: "test/no_prompt_by_default.out", }); itest!(no_prompt_with_denied_perms { - args: "test --allow-read test/no_prompt_with_denied_perms.ts", + args: "test --quiet --allow-read test/no_prompt_with_denied_perms.ts", exit_code: 1, output: "test/no_prompt_with_denied_perms.out", }); -- cgit v1.2.3