Move newline after resetting the colour
All checks were successful
Build / audit (push) Successful in 14m52s
Build / test (push) Successful in 15m12s

This commit is contained in:
Eugen Wissner 2023-12-19 22:53:24 +01:00
parent eb68629653
commit 49cbda6027
Signed by: belka
GPG Key ID: A27FDC1E8EE902C0

View File

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