hakyll 4.1.1.0 → 4.1.2.0
raw patch · 2 files changed
+5/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- hakyll.cabal +1/−1
- src/Hakyll/Core/Runtime.hs +4/−1
hakyll.cabal view
@@ -1,5 +1,5 @@ Name: hakyll-Version: 4.1.1.0+Version: 4.1.2.0 Synopsis: A static website compiler library Description:
src/Hakyll/Core/Runtime.hs view
@@ -12,6 +12,7 @@ import Control.Monad.RWS (RWST, runRWST) import Control.Monad.State (get, modify) import Control.Monad.Trans (liftIO)+import Data.List (intercalate) import Data.Map (Map) import qualified Data.Map as M import Data.Monoid (mempty)@@ -171,7 +172,9 @@ -------------------------------------------------------------------------------- chase :: [Identifier] -> Identifier -> Runtime () chase trail id'- | id' `elem` trail = return () -- Cycle detected!+ | id' `elem` trail = throwError $ "Hakyll.Core.Runtime.chase: " +++ "Dependency cycle detected: " ++ intercalate " depends on "+ (map show $ dropWhile (/= id') (reverse trail) ++ [id']) | otherwise = do logger <- runtimeLogger <$> ask todo <- runtimeTodo <$> get