summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungho Kim <niceb5y@gmail.com>2020-02-07 11:58:11 +0900
committerGitHub <noreply@github.com>2020-02-06 21:58:11 -0500
commit522e856347b27b939dac92eb592ce64d86a96c03 (patch)
tree692facb398aca8b05b865bd0d56df8d367fe6051
parent5e8581ff4b7bd4a58f1e7d16544ca6498952b5b1 (diff)
fix(cli/flags.rs): Prevent providing --allow-env flag twice (#3906)
-rw-r--r--cli/flags.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/cli/flags.rs b/cli/flags.rs
index 4e314919e..897df611c 100644
--- a/cli/flags.rs
+++ b/cli/flags.rs
@@ -155,10 +155,6 @@ impl DenoFlags {
args.push("--allow-hrtime".to_string());
}
- if self.allow_env {
- args.push("--allow-env".to_string());
- }
-
args
}
}