diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Main.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs index b668574..f0f9994 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -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 |
