mirror of
https://github.com/github/semantic.git
synced 2024-12-24 15:35:14 +03:00
Output patches with trailing newlines
This commit is contained in:
parent
b12c64582a
commit
bafd66437f
@ -30,5 +30,5 @@ printDiff parser arguments sources = case format arguments of
|
||||
then path </> (takeFileName outputPath -<.> ".html")
|
||||
else path
|
||||
IO.withFile outputPath IO.WriteMode (`TextIO.hPutStr` rendered)
|
||||
Patch -> putStr =<< diffFiles parser P.patch sources
|
||||
Patch -> putStrLn =<< diffFiles parser P.patch sources
|
||||
JSON -> B.putStr =<< diffFiles parser J.json sources
|
||||
|
Loading…
Reference in New Issue
Block a user