make lint happy

Signed-off-by: Andrew Johnson <ajohnson@gocardless.com>
This commit is contained in:
Andrew Johnson
2021-04-01 19:09:36 +01:00
parent a376e3ee85
commit 18a9669291
@@ -186,13 +186,13 @@ export function createPublishGithubAction(options: {
}
if (collaborators) {
for (const { access, username } of collaborators) {
for (const { access: permission, username: team_slug } of collaborators) {
await client.teams.addOrUpdateRepoPermissionsInOrg({
org: owner,
team_slug: username,
team_slug,
owner,
repo,
permission: access,
permission,
});
}
}