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

Function handler

ng-dev/caretaker/handoff/cli.ts:21–27  ·  view source on GitHub ↗

Handles the command.

()

Source from the content-addressed store, hash-verified

19
20/** Handles the command. */
21async function handler() {
22 const {mergeMode} = (await getConfig([assertValidGithubConfig])).github;
23 if (!(await verifyMergeMode(mergeMode))) {
24 return;
25 }
26 await updateCaretakerTeamViaPrompt();
27}
28
29/** yargs command module for assisting in handing off caretaker. */
30export const HandoffModule: CommandModule<{}, {}> = {

Callers

nothing calls this directly

Calls 3

getConfigFunction · 0.85
verifyMergeModeFunction · 0.85

Tested by

no test coverage detected