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