packages feed

hakyll-sass 0.2.1 → 0.2.2

raw patch · 2 files changed

+3/−3 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

hakyll-sass.cabal view
@@ -1,5 +1,5 @@ name: hakyll-sass-version: 0.2.1+version: 0.2.2 synopsis: Hakyll SASS compiler over hsass license: MIT license-file: LICENSE
src/Hakyll/Web/Sass.hs view
@@ -49,9 +49,9 @@ -- not be used to determine SCSS from SASS formatting. renderSassWith :: SassOptions -> Item String -> Compiler (Item String) renderSassWith options item =-  let bodyStr = itemBody item+  let filePath = toFilePath $ itemIdentifier item   in join $ unsafeCompiler $ do-    resultOrErr <- compileString bodyStr options+    resultOrErr <- compileFile filePath options     case resultOrErr of       Left sassError -> errorMessage sassError >>= fail       Right result -> return (makeItem result)