Skip to content

Commit 5b256b8

Browse files
refactor(gitlab): trace merge request actions added on main
1 parent 96cd122 commit 5b256b8

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎packages/source-control-gitlab/src/server/GitLabPullRequestCli.ts‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1271,8 +1271,8 @@ export const make = Effect.gen(function* () {
12711271
Effect.asVoid,
12721272
),
12731273

1274-
runMergeRequestAction: (input) =>
1275-
Effect.gen(function* () {
1274+
runMergeRequestAction: Effect.fn("GitLabPullRequestCli.runMergeRequestAction")(
1275+
function* (input) {
12761276
// `glab mr merge` arms auto-merge and never disarms it, so the one direction the CLI has
12771277
// no flag for is asked of GitLab directly through the same `api` passthrough the rest of
12781278
// this module writes with.
@@ -1298,7 +1298,8 @@ export const make = Effect.gen(function* () {
12981298
flags.push("--sha", refs.headSha);
12991299
}
13001300
yield* executeMr(subcommand!, ...flags);
1301-
}),
1301+
},
1302+
),
13021303

13031304
updateMergeRequest: (input) =>
13041305
api({

0 commit comments

Comments
 (0)