Skip to content

Commit

Permalink
the completed graph label was showing up when it should not have been. (
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpolzin authored Jul 3, 2023
1 parent 7ba0813 commit 3119070
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Commands.idr
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ graph @{config} args = do
let (openReviewers, closedReviewers) = prs.allReviewers
completedReviews <-
case (isJust includeCompletedReviews) of
True => countReviewsByEachUser (combined prs)
False => pure empty
renderIO $ reviewsGraph closedReviewers openReviewers teamMemberLogins (Just completedReviews)
True => Just <$> countReviewsByEachUser (combined prs)
False => pure Nothing
renderIO $ reviewsGraph closedReviewers openReviewers teamMemberLogins completedReviews

export
health : Config => Octokit =>
Expand Down

0 comments on commit 3119070

Please sign in to comment.