Skip to content

Commit 2391a73

Browse files
committed
feat: enable permission checker by default
1 parent 1767ae8 commit 2391a73

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

crates/fsrt/src/main.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@ pub struct Args {
7575
#[arg(short, long)]
7676
out: Option<PathBuf>,
7777

78-
// Run the permission checker
79-
#[arg(long)]
80-
check_permissions: bool,
81-
8278
#[arg(long)]
8379
graphql_schema_path: Option<PathBuf>,
8480

@@ -378,7 +374,7 @@ pub(crate) fn scan_directory<'a>(
378374
.into_iter()
379375
.any(|remote| remote.contains_auth());
380376

381-
let run_permission_checker = opts.check_permissions && !transpiled_async;
377+
let run_permission_checker = !transpiled_async;
382378

383379
let permissions_declared: HashSet<String> =
384380
HashSet::from_iter(permission_scopes.iter().map(|s| s.replace('\"', "")));

0 commit comments

Comments
 (0)