avoid deprecation warning

This commit is contained in:
Joey Hess 2019-12-06 15:44:58 -04:00
parent a0168cd9a2
commit a7004375ec
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -12,7 +12,7 @@ import Logs.Config
import Config
import Git.Types (ConfigKey(..), fromConfigValue)
import qualified Data.ByteString as S
import qualified Data.ByteString.Char8 as S8
cmd :: Command
cmd = noMessages $ command "config" SectionSetup
@ -65,5 +65,5 @@ seek (GetConfig ck) = commandAction $
startingCustomOutput (ActionItemOther Nothing) $ do
getGlobalConfig ck >>= \case
Nothing -> return ()
Just (ConfigValue v) -> liftIO $ S.putStrLn v
Just (ConfigValue v) -> liftIO $ S8.putStrLn v
next $ return True