Skip to content

Commit 0acc6d6

Browse files
authored
Update do-not-enforce-admins.ts
1 parent 372895b commit 0acc6d6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/src/actions/do-not-enforce-admins.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export async function runDoNotEnforceAdmins(
1717
}
1818

1919
export async function doNotEnforceAdmins(
20+
config: Config,
2021
repositoryAndRuleFilter: (
2122
repository: Repository,
2223
branchProtectionRule: RepositoryBranchProtectionRule
@@ -43,6 +44,4 @@ export async function doNotEnforceAdmins(
4344
rule.enforce_admins = false
4445
config.addResource(rule)
4546
}
46-
47-
config.save()
4847
}

0 commit comments

Comments
 (0)