Handles the command.
({
pr,
branchPrompt,
forceManualBranches,
dryRun,
ignorePendingReviews,
waitForValidations,
}: Arguments<MergeCommandOptions>)
| 56 | |
| 57 | /** Handles the command. */ |
| 58 | async 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. */ |
| 76 | export const MergeCommandModule: CommandModule<{}, MergeCommandOptions> = { |
nothing calls this directly
no test coverage detected