1
1
mirror of https://github.com/nmattia/niv.git synced 2024-11-29 09:42:35 +03:00

Add comment

This commit is contained in:
Nicolas Mattia 2019-11-27 14:36:20 +01:00
parent a20bc9c85d
commit 9aa54f19c4

View File

@ -189,11 +189,12 @@ warnIfOutdated = do
]
Right content -> do
case md5ToSourcesVersion (T.pack $ show $ MD5.md5 content) of
-- This is a custom version, we don't do anything
-- This is a custom or newer version, we don't do anything
Nothing -> pure ()
Just v
-- The file is the latest
| v == maxBound -> pure ()
-- The file is older than than latest
| otherwise -> do
tsay $ T.unlines
[ T.unwords