on master help sign in
Add hint for how to resolve a corrupt cache
255bb47Arash Rouhani
src/Hakyll/Core/Compiler.hs+1
@@ -315,6 +315,7 @@ cached name (Compiler d j) = Compiler d $ const $ CompilerM $ do
315 _ -> throwError error'
315 _ -> throwError error'
316 where
316 where
317 error' = "Hakyll.Core.Compiler.cached: Cache corrupt!"
317 error' = "Hakyll.Core.Compiler.cached: Cache corrupt!"
318+ ++ " Try deleting the _cache folder."
318
319
319-- | Create an unsafe compiler from a function in IO
320-- | Create an unsafe compiler from a function in IO
320--
321--