mirror of
https://github.com/github/semantic.git
synced 2025-01-04 05:27:08 +03:00
Append newlines after Show output.
This commit is contained in:
parent
9e7324b3c7
commit
f9266e01e4
@ -26,5 +26,5 @@ runSerialize :: Bool -> Format input -> input -> Builder
|
||||
runSerialize _ (DOT style) = serializeDOT style
|
||||
runSerialize _ JSON = (<> "\n") . fromEncoding . toEncoding
|
||||
runSerialize _ (SExpression opts) = serializeSExpression opts
|
||||
runSerialize True Show = stringUtf8 . hscolour TTY defaultColourPrefs False False "" False . ppShow
|
||||
runSerialize False Show = stringUtf8 . show
|
||||
runSerialize True Show = (<> "\n") . stringUtf8 . hscolour TTY defaultColourPrefs False False "" False . ppShow
|
||||
runSerialize False Show = (<> "\n") . stringUtf8 . show
|
||||
|
Loading…
Reference in New Issue
Block a user