Commit 0124d9bd authored by byorgey's avatar byorgey

init: add a newline to the end of generated .cabal file. Fixes #2219.

parent 5049bb41
......@@ -680,6 +680,7 @@ findNewName oldName = findNewName' 0
-- pretty-printing code to generate the file.
generateCabalFile :: String -> InitFlags -> String
generateCabalFile fileName c =
(++ "\n") .
renderStyle style { lineLength = 79, ribbonsPerLine = 1.1 } $
(if minimal c /= Flag True
then showComment (Just $ "Initial " ++ fileName ++ " generated by cabal "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment