summaryrefslogtreecommitdiff
path: root/Biz/Lint.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Biz/Lint.hs')
-rw-r--r--Biz/Lint.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Biz/Lint.hs b/Biz/Lint.hs
index 2fc8522..d708c45 100644
--- a/Biz/Lint.hs
+++ b/Biz/Lint.hs
@@ -106,10 +106,10 @@ run :: [FilePath] -> IO [Result]
run paths = do
cwd <- Directory.getCurrentDirectory
root <- Environment.getEnv "BIZ_ROOT"
- concat </ mapM (runOne root cwd) paths
+ concat </ traverse (runOne root cwd) paths
runOne :: FilePath -> FilePath -> FilePath -> IO [Result]
-runOne root cwd path_ = results +> mapM_ printResult >> results
+runOne root cwd path_ = results +> traverse_ printResult >> results
where
results =
sequence <| case Namespace.fromPath root (cwd </> path_) of