summaryrefslogtreecommitdiff
path: root/cli/args/mod.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-09-17 23:32:52 +0100
committerGitHub <noreply@github.com>2024-09-18 00:32:52 +0200
commita7d67e3a7a6b2c66f366dd3448b82cbc297a4e77 (patch)
tree40ae66b68afdc4aa2dc255d6d3c334193408d646 /cli/args/mod.rs
parent97b8c9be3897f2a17439b217d1cd9884c39c087f (diff)
feat: update warning message for --allow-run with no list (#25693)
Ref https://github.com/denoland/deno/pull/25215#discussion_r1762064605
Diffstat (limited to 'cli/args/mod.rs')
-rw-r--r--cli/args/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/args/mod.rs b/cli/args/mod.rs
index db8cf149e..0851dfd6c 100644
--- a/cli/args/mod.rs
+++ b/cli/args/mod.rs
@@ -1705,7 +1705,7 @@ fn warn_insecure_allow_run_flags(flags: &Flags) {
// discourage using --allow-run without an allow list
if allow_run_list.is_empty() {
log::warn!(
- "{} --allow-run can be trivially exploited. Prefer specifying an allow list (https://docs.deno.com/runtime/fundamentals/security/#running-subprocesses)",
+ "{} --allow-run without an allow list is susceptible to exploits. Prefer specifying an allow list (https://docs.deno.com/runtime/fundamentals/security/#running-subprocesses)",
colors::yellow("Warning")
);
}