Skip to content

Commit

Permalink
resolve pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
skwowet committed Aug 2, 2024
1 parent e8526f2 commit 5839097
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions backend/src/services/MergeActionsService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ export default class MergeActionsService extends LoggerBase {
static getOperationType(step) {
if (step.startsWith('merge')) {
return 'merge'
}

return 'unmerge'
} if (step.startsWith('unmerge')) {
return 'unmerge'
}

throw new Error(`Unrecognized merge action step: ${step}`)
}
}

0 comments on commit 5839097

Please sign in to comment.