packages feed

aws-lambda-haskell-runtime 1.0.8 → 1.0.9

raw patch · 2 files changed

+5/−4 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

aws-lambda-haskell-runtime.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 6ac02c7958d3fc1d4ffc62c4bc057af179b9db126454b63255e8aeef0101cade+-- hash: 77bb69bb6cee68d5d854ba29a9b6ffd5fe538c849f335826d5a1278bd8aa5543  name:           aws-lambda-haskell-runtime-version:        1.0.8+version:        1.0.9 synopsis:       Haskell runtime for AWS Lambda description:    Please see the README on GitHub at <https://github.com/theam/aws-lambda-haskell-runtime#readme> category:       AWS
src/Aws/Lambda/Configuration.hs view
@@ -129,6 +129,7 @@                 | DirError IOError data DirData = DirData FilePath DirContent + -- Produces directory data walk :: FilePath -> Conduit.ConduitM () DirData IO () walk path = do@@ -141,14 +142,14 @@     Left e -> Conduit.yield (DirData path (DirError e))  where   listdir = do-    entries <- Directory.getDirectoryContents path >>= filterHidden+    entries <- filterHidden <$> Directory.getDirectoryContents path     subdirs <- filterM isDir entries     files   <- filterM isFile entries     return $ DirList subdirs files    where     isFile entry = Directory.doesFileExist (path </> entry)     isDir entry = Directory.doesDirectoryExist (path </> entry)-    filterHidden paths = return $ filter (\p -> head p /= '.') paths+    filterHidden paths = filter (\p -> head p /= '.' && p /= "node_modules") paths   -- Consume directories