MCPcopy Create free account
hub / github.com/angular/dev-infra / remove

Function remove

ng-dev/caretaker/handoff/update-github-team.ts:128–135  ·  view source on GitHub ↗
(username: string)

Source from the content-addressed store, hash-verified

126 };
127 /** Remove a user from the group. */
128 const remove = async (username: string) => {
129 Log.debug(`Removing ${username} from ${fullSlug}.`);
130 await git.github.teams.removeMembershipForUserInOrg({
131 org: git.remoteConfig.owner,
132 team_slug: group,
133 username,
134 });
135 };
136
137 Log.debug(`Github Team: ${fullSlug}`);
138 Log.debug(`Current Membership: ${current.join(', ')}`);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected