diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2011-05-16 23:09:06 +0200 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2011-05-16 23:12:51 +0200 |
commit | 86cdd0327fc937997a407c1ccbd73bd107d7d38e (patch) | |
tree | 8d2f30f65c832e4bb24a16662c04271dd5c86497 /src/Hakyll/Core/Resource | |
parent | 8c0335c726f02c9fceeed4bc0db11b63166bd1fb (diff) | |
download | hakyll-86cdd0327fc937997a407c1ccbd73bd107d7d38e.tar.gz |
Fix issue with ignoreFile
Diffstat (limited to 'src/Hakyll/Core/Resource')
-rw-r--r-- | src/Hakyll/Core/Resource/Provider/File.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Hakyll/Core/Resource/Provider/File.hs b/src/Hakyll/Core/Resource/Provider/File.hs index 8365a5d..c0e306a 100644 --- a/src/Hakyll/Core/Resource/Provider/File.hs +++ b/src/Hakyll/Core/Resource/Provider/File.hs @@ -18,7 +18,7 @@ import Hakyll.Core.Configuration fileResourceProvider :: HakyllConfiguration -> IO ResourceProvider fileResourceProvider configuration = do -- Retrieve a list of paths - list <- map Resource . filter (not . ignoreFile configuration) <$> + list <- map Resource . filter (not . shouldIgnoreFile configuration) <$> getRecursiveContents False "." makeResourceProvider list (readFile . unResource) (LB.readFile . unResource) |