Skip to content

Commit

Permalink
refactor(cli/flags): change allow_read/write/net types from bool to O…
Browse files Browse the repository at this point in the history
…ption<Vec<T>> (denoland#8896)

This PR refactors "cli/flags.rs" and "runtime/permissions.rs" so 
that "allow_read", "allow_write" and "allow_net" themselves
have allowlists, instead of storing them in additional fields.
  • Loading branch information
magurotuna committed Dec 29, 2020
1 parent 090ca4d commit d5f3a74
Show file tree
Hide file tree
Showing 4 changed files with 148 additions and 156 deletions.
Loading

0 comments on commit d5f3a74

Please sign in to comment.