1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 15:35:14 +03:00

Merge branch 'master' into refactor-alignment

This commit is contained in:
Rob Rix 2016-03-03 16:06:59 -05:00
commit e83a253d8c

View File

@ -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