fix reversion in warning newline
indent removes any trailing newline, so put the trailing newline after calling indent. Sponsored-by: unqueued on Patreon
This commit is contained in:
parent
708f4756d4
commit
ad71f005b8
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ warning' :: Bool -> (S.ByteString -> S.ByteString) -> StringContainingQuotedPath
|
|||
warning' makeway consolewhitespacef w = do
|
||||
when makeway $
|
||||
outputMessage JSON.none id "\n"
|
||||
outputError consolewhitespacef (w <> "\n")
|
||||
outputError (\s -> consolewhitespacef s <> "\n") w
|
||||
|
||||
{- Not concurrent output safe. -}
|
||||
warningIO :: String -> IO ()
|
||||
|
|
Loading…
Reference in a new issue