envstatus 1.0.1 → 1.0.2
raw patch · 2 files changed
+3/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- envstatus.cabal +1/−1
- src/EnvStatus/Output/Render.hs +2/−1
envstatus.cabal view
@@ -1,5 +1,5 @@ name: envstatus-version: 1.0.1+version: 1.0.2 synopsis: Display efficiently the state of the local environment description: Meant to gather in a fast manner all the information you want from your local environment (like git status, python venv, terraform workspace, ...).
src/EnvStatus/Output/Render.hs view
@@ -1,6 +1,7 @@ module EnvStatus.Output.Render where import Control.Applicative ((<$>))+import Control.Monad (join) import Data.ConfigFile (ConfigParser) import Data.Maybe (fromMaybe, isJust) @@ -19,7 +20,7 @@ renderTokenString :: ConfigParser -> [Token] -> IO String renderTokenString cp tokens = do results <- sequence $ renderToken cp <$> tokens- return $ unwords results+ return $ join results renderToken :: ConfigParser -> Token -> IO String renderToken _ (Raw s) = pure s