Skip to content

Commit b5f9163

Browse files
authored
[TSD-77] Fix two documentation issues that caused Hoogle to break (#32)
* Fixes two documentation issues that caused Hoogle to break
1 parent 7e57f58 commit b5f9163

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/DataSource/Types.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ instance FromPageResultList TicketInfo where
646646
, exportTicketsParser obj
647647
]
648648
where
649-
-- | The case when we have the simple parser from tickets.
649+
-- | The case when we have the simple parser from tickets.
650650
ticketListParser :: Value -> Parser (PageResultList TicketInfo)
651651
ticketListParser = withObject "ticketList" $ \o ->
652652
PageResultList
@@ -810,4 +810,3 @@ renderTicketStatus AnalyzedByScriptV1_1 = "analyzed-by-script-v1.1"
810810
renderTicketStatus AnalyzedByScriptV1_2 = "analyzed-by-script-v1.2"
811811
renderTicketStatus NoKnownIssue = "no-known-issues"
812812
renderTicketStatus NoLogAttached = "no-log-files"
813-

src/Lib.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ filterAnalyzedTickets ticketsInfo =
556556
unsolvedTicketStatus = map TicketStatus ["new", "open", "hold", "pending"]
557557

558558
isTicketOpen :: TicketInfo -> Bool
559-
isTicketOpen TicketInfo{..} = tiStatus `elem` unsolvedTicketStatus-- || ticketStatus == "new"
559+
isTicketOpen TicketInfo{..} = tiStatus `elem` unsolvedTicketStatus
560560

561561
-- | If we have a ticket we are having issues with...
562562
isTicketBlacklisted :: TicketInfo -> Bool

0 commit comments

Comments
 (0)