Skip to content

Commit

Permalink
fix: remove default --allow-read perm for deno test (denoland#5208)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju committed May 10, 2020
1 parent e74a83a commit 0d148c6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cli/flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -533,8 +533,6 @@ fn run_parse(flags: &mut Flags, matches: &clap::ArgMatches) {
}

fn test_parse(flags: &mut Flags, matches: &clap::ArgMatches) {
flags.allow_read = true;

run_test_args_parse(flags, matches);

let failfast = matches.is_present("failfast");
Expand Down Expand Up @@ -2390,7 +2388,6 @@ mod tests {
quiet: false,
include: Some(svec!["dir1/", "dir2/"]),
},
allow_read: true,
allow_net: true,
..Flags::default()
}
Expand All @@ -2410,7 +2407,6 @@ mod tests {
filter: Some("foo".to_string()),
include: Some(svec!["dir1"]),
},
allow_read: true,
..Flags::default()
}
);
Expand Down

0 comments on commit 0d148c6

Please sign in to comment.