(username: string)
| 116 | const removed = current.filter((login) => !members.includes(login)); |
| 117 | /** Add a user to the group. */ |
| 118 | const add = async (username: string) => { |
| 119 | Log.debug(`Adding ${username} to ${fullSlug}.`); |
| 120 | await git.github.teams.addOrUpdateMembershipForUserInOrg({ |
| 121 | org: git.remoteConfig.owner, |
| 122 | team_slug: group, |
| 123 | username, |
| 124 | role: 'maintainer', |
| 125 | }); |
| 126 | }; |
| 127 | /** Remove a user from the group. */ |
| 128 | const remove = async (username: string) => { |
| 129 | Log.debug(`Removing ${username} from ${fullSlug}.`); |
nothing calls this directly
no outgoing calls
no test coverage detected