From 522e856347b27b939dac92eb592ce64d86a96c03 Mon Sep 17 00:00:00 2001 From: Seungho Kim Date: Fri, 7 Feb 2020 11:58:11 +0900 Subject: fix(cli/flags.rs): Prevent providing --allow-env flag twice (#3906) --- cli/flags.rs | 4 ---- 1 file changed, 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 } } -- cgit v1.2.3