avoid deprecation warning
This commit is contained in:
parent
a0168cd9a2
commit
a7004375ec
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ import Logs.Config
|
||||||
import Config
|
import Config
|
||||||
import Git.Types (ConfigKey(..), fromConfigValue)
|
import Git.Types (ConfigKey(..), fromConfigValue)
|
||||||
|
|
||||||
import qualified Data.ByteString as S
|
import qualified Data.ByteString.Char8 as S8
|
||||||
|
|
||||||
cmd :: Command
|
cmd :: Command
|
||||||
cmd = noMessages $ command "config" SectionSetup
|
cmd = noMessages $ command "config" SectionSetup
|
||||||
|
@ -65,5 +65,5 @@ seek (GetConfig ck) = commandAction $
|
||||||
startingCustomOutput (ActionItemOther Nothing) $ do
|
startingCustomOutput (ActionItemOther Nothing) $ do
|
||||||
getGlobalConfig ck >>= \case
|
getGlobalConfig ck >>= \case
|
||||||
Nothing -> return ()
|
Nothing -> return ()
|
||||||
Just (ConfigValue v) -> liftIO $ S.putStrLn v
|
Just (ConfigValue v) -> liftIO $ S8.putStrLn v
|
||||||
next $ return True
|
next $ return True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue