diff options
author | Jasper Van der Jeugt <m@jaspervdj.be> | 2013-05-04 15:18:26 +0200 |
---|---|---|
committer | Jasper Van der Jeugt <m@jaspervdj.be> | 2013-05-04 15:18:26 +0200 |
commit | ca80171caf1328bc869c61d2f51b1fd657779532 (patch) | |
tree | 0d48ac5bd8c4b61d5f845005cbf9894f0099c237 /src/Hakyll/Core/Provider | |
parent | 3ac3037ec9f93a7bd368e4a135ce65d7590c7f37 (diff) | |
download | hakyll-ca80171caf1328bc869c61d2f51b1fd657779532.tar.gz |
Minor style changes
Diffstat (limited to 'src/Hakyll/Core/Provider')
-rw-r--r-- | src/Hakyll/Core/Provider/MetadataCache.hs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Hakyll/Core/Provider/MetadataCache.hs b/src/Hakyll/Core/Provider/MetadataCache.hs index 031960c..28d2bd5 100644 --- a/src/Hakyll/Core/Provider/MetadataCache.hs +++ b/src/Hakyll/Core/Provider/MetadataCache.hs @@ -7,8 +7,8 @@ module Hakyll.Core.Provider.MetadataCache -------------------------------------------------------------------------------- +import Control.Monad (unless) import qualified Data.Map as M -import Control.Monad (unless) -------------------------------------------------------------------------------- import Hakyll.Core.Identifier @@ -51,9 +51,9 @@ load :: Provider -> Identifier -> IO () load p r = do mmof <- Store.isMember store mdk unless mmof $ do - (md, body) <- loadMetadata p r - Store.set store mdk md - Store.set store bk body + (md, body) <- loadMetadata p r + Store.set store mdk md + Store.set store bk body where store = providerStore p mdk = [name, toFilePath r, "metadata"] |