Skip to content

Commit

Permalink
forgot to check in main.hs change
Browse files Browse the repository at this point in the history
  • Loading branch information
aviaviavi committed Nov 23, 2018
1 parent ca03b58 commit 16a26bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ main = do
run webPort $ app $ ToodlesState ref dataDir

prettyFormat :: TodoEntry -> String
prettyFormat (TodoEntryHead _ l a p n entryPriority f _ _ _) =
prettyFormat (TodoEntryHead _ l a p n entryPriority f _ _ _ _ _ _) =
printf
"Assignee: %s\n%s%s:%d\n%s - %s"
(fromMaybe "None" a)
Expand All @@ -36,4 +36,4 @@ prettyFormat (TodoEntryHead _ l a p n entryPriority f _ _ _) =
n
(show f)
(unlines $ map T.unpack l)
prettyFormat (TodoBodyLine _) = error "Invalid type for prettyFormat"
prettyFormat a = error "Invalid type for prettyFormat: " ++ show a

0 comments on commit 16a26bf

Please sign in to comment.