Skip to content

Commit

Permalink
unintegrateAfter: document noop
Browse files Browse the repository at this point in the history
  • Loading branch information
rudymatela committed Aug 17, 2022
1 parent a699fd2 commit 75d9176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Logic.hs
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ handleMergeRequested projectConfig prId author state pr approvalType = do
-- in the merge train as NotIntegrated
unintegrateAfter :: PullRequestId -> ProjectState -> ProjectState
unintegrateAfter pid state = case Pr.lookupPullRequest pid state of
Nothing -> state -- should not happen
Nothing -> state -- PR not found. Keep the state as it is.
Just pr -> unintegrateAfter' pr state
where
unintegrateAfter' :: PullRequest -> ProjectState -> ProjectState
Expand Down

0 comments on commit 75d9176

Please sign in to comment.