Move newline after resetting the colour
This commit is contained in:
parent
eb68629653
commit
49cbda6027
@ -293,11 +293,12 @@ checkUpdateAvailability Package{..} version = do
|
|||||||
| otherwise ->
|
| otherwise ->
|
||||||
liftIO $ do
|
liftIO $ do
|
||||||
setSGR [SetColor Foreground Dull Yellow]
|
setSGR [SetColor Foreground Dull Yellow]
|
||||||
Text.IO.putStrLn
|
Text.IO.putStr
|
||||||
$ "A new version of "
|
$ "A new version of "
|
||||||
<> name <> " " <> getField @"version" parsedInfoFile
|
<> name <> " " <> getField @"version" parsedInfoFile
|
||||||
<> " is available (" <> version <> ")."
|
<> " is available (" <> version <> ")."
|
||||||
setSGR [Reset]
|
setSGR [Reset]
|
||||||
|
putStrLn ""
|
||||||
pure $ Just parsedInfoFile
|
pure $ Just parsedInfoFile
|
||||||
Left errorBundle -> liftIO (putStr $ errorBundlePretty errorBundle)
|
Left errorBundle -> liftIO (putStr $ errorBundlePretty errorBundle)
|
||||||
>> pure Nothing
|
>> pure Nothing
|
||||||
|
Loading…
Reference in New Issue
Block a user