diff options
author | Matt Mastracci <matthew@mastracci.com> | 2024-03-13 10:07:24 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-13 16:07:24 +0000 |
commit | eccdb0e99acd66cce38fc8535aeab221a8a6fffa (patch) | |
tree | f975571936d29c9c87482e6c54de9678a52e5794 /cli/args/mod.rs | |
parent | aef9bca876f26c424177d284af75933cbfd53f3b (diff) |
chore(permissions): add allow_all flag (#22890)
Unlocking a potential perf optimization at a later date -- carry the
`allow_all` flag into the permission container.
Diffstat (limited to 'cli/args/mod.rs')
-rw-r--r-- | cli/args/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/args/mod.rs b/cli/args/mod.rs index d72b41947..f22567d61 100644 --- a/cli/args/mod.rs +++ b/cli/args/mod.rs @@ -1469,6 +1469,7 @@ impl CliOptions { pub fn permissions_options(&self) -> PermissionsOptions { PermissionsOptions { + allow_all: self.flags.allow_all, allow_env: self.flags.allow_env.clone(), deny_env: self.flags.deny_env.clone(), allow_hrtime: self.flags.allow_hrtime, |