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

Function handler

ng-dev/pr/merge/cli.ts:58–73  ·  view source on GitHub ↗

Handles the command.

({
  pr,
  branchPrompt,
  forceManualBranches,
  dryRun,
  ignorePendingReviews,
  waitForValidations,
}: Arguments<MergeCommandOptions>)

Source from the content-addressed store, hash-verified

56
57/** Handles the command. */
58async function handler({
59 pr,
60 branchPrompt,
61 forceManualBranches,
62 dryRun,
63 ignorePendingReviews,
64 waitForValidations,
65}: Arguments<MergeCommandOptions>) {
66 await mergePullRequest(pr, {
67 branchPrompt,
68 forceManualBranches,
69 dryRun,
70 ignorePendingReviews,
71 waitForValidations,
72 });
73}
74
75/** yargs command module describing the command. */
76export const MergeCommandModule: CommandModule<{}, MergeCommandOptions> = {

Callers

nothing calls this directly

Calls 1

mergePullRequestFunction · 0.85

Tested by

no test coverage detected