mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-18 17:57:11 +03:00
don't require trailing : in overview.hs
This commit is contained in:
parent
b41e13d23a
commit
2aa93a8cc7
@ -26,7 +26,7 @@ main = do
|
||||
let mods = takeWhile ((> 0) . length) $
|
||||
dropWhile ((== 0) . length) $
|
||||
dropWhile ((> 0) . length) $
|
||||
dropWhile (notElem "overview:" . words) $
|
||||
dropWhile (notElem "overview" . words) $
|
||||
lines file
|
||||
putStr $ unlines mods
|
||||
let files = concat $ map ((++ ".hs ") . dropWhile (== ' ')) mods
|
||||
|
Loading…
Reference in New Issue
Block a user