Skip to content

Commit

Permalink
Update contributors-data.js
Browse files Browse the repository at this point in the history
  • Loading branch information
t-will-gillis authored Dec 1, 2023
1 parent ba559e0 commit 34b4df8
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,7 @@ async function removeInactiveMembers(currentTeamMembers, recentContributors){
username: userName,
role: 'member',
})
} else {
console.log(baseMember.status, username)
}
}
// Remove contributor from a team if they don't pass additional checks in `toRemove` function
if(await toRemove(username)){
await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}', {
Expand Down

0 comments on commit 34b4df8

Please sign in to comment.