Skip to content

Commit 16a26bf

Browse files
committed
forgot to check in main.hs change
1 parent ca03b58 commit 16a26bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Main.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ main = do
2727
run webPort $ app $ ToodlesState ref dataDir
2828

2929
prettyFormat :: TodoEntry -> String
30-
prettyFormat (TodoEntryHead _ l a p n entryPriority f _ _ _) =
30+
prettyFormat (TodoEntryHead _ l a p n entryPriority f _ _ _ _ _ _) =
3131
printf
3232
"Assignee: %s\n%s%s:%d\n%s - %s"
3333
(fromMaybe "None" a)
@@ -36,4 +36,4 @@ prettyFormat (TodoEntryHead _ l a p n entryPriority f _ _ _) =
3636
n
3737
(show f)
3838
(unlines $ map T.unpack l)
39-
prettyFormat (TodoBodyLine _) = error "Invalid type for prettyFormat"
39+
prettyFormat a = error "Invalid type for prettyFormat: " ++ show a

0 commit comments

Comments
 (0)