1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-22 06:09:25 -05:00

fix(cli/flags.rs): Prevent providing --allow-env flag twice (#3906)

This commit is contained in:
Seungho Kim 2020-02-07 11:58:11 +09:00 committed by GitHub
parent 5e8581ff4b
commit 522e856347
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -155,10 +155,6 @@ impl DenoFlags {
args.push("--allow-hrtime".to_string());
}
if self.allow_env {
args.push("--allow-env".to_string());
}
args
}
}