MCPcopy Create free account
hub / github.com/pingdotgg/t3code / executeMergeRequest

Function executeMergeRequest

apps/server/src/sourceControl/GitLabCli.ts:415–430  ·  view source on GitHub ↗
(input: {
    readonly cwd: string;
    readonly reference: string;
    readonly args: ReadonlyArray<string>;
  })

Source from the content-addressed store, hash-verified

413 );
414
415 const executeMergeRequest = (input: {
416 readonly cwd: string;
417 readonly reference: string;
418 readonly args: ReadonlyArray<string>;
419 }) =>
420 run(input, (error) =>
421 GitLabMergeRequestNotFoundError.fromVcsError(
422 {
423 operation: "execute",
424 command: "glab",
425 cwd: input.cwd,
426 reference: input.reference,
427 },
428 error,
429 ),
430 );
431
432 return GitLabCli.of({
433 execute,

Callers 1

GitLabCli.tsFile · 0.85

Calls 2

runFunction · 0.70
fromVcsErrorMethod · 0.45

Tested by

no test coverage detected