aboutsummaryrefslogtreecommitdiffstats
path: root/app/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'app/Main.hs')
-rw-r--r--app/Main.hs9
1 files changed, 1 insertions, 8 deletions
diff --git a/app/Main.hs b/app/Main.hs
index 0154840..a2fef0b 100644
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -592,14 +592,7 @@ main = do
`catch` \(_ :: E.ProcessException) ->
error "working directory not clean, aborting.."
plan <- R.formulatePlan perCommit baseBranch featureBranch
- patch <-
- A.Patch . concat
- <$> mapM
- ( \step -> do
- R.separateReview step.commit step.changes
- =<< R.reviewPatch step.changes
- )
- (NE.toList plan.steps)
+ patch <- A.Patch . concat <$> mapM R.reviewStep (NE.toList plan.steps)
T.writeFile "review.patch" (renderAsText patch)
-- REVIEW Why is withReviewing in the Status module and not the Review
-- module?