summaryrefslogtreecommitdiff
path: root/Biz/Bild.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2022-03-30 14:33:32 -0400
committerBen Sima <ben@bsima.me>2022-03-30 14:33:32 -0400
commitb0c707e6f1fc03280ab45e34bec199740469e539 (patch)
tree583d7b6ee8edeecf856ba2200d5896575bd34391 /Biz/Bild.hs
parent377acdcc31e244153da7a4ef9af0638a6d496a1e (diff)
Add isCab function
Diffstat (limited to 'Biz/Bild.hs')
-rw-r--r--Biz/Bild.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Biz/Bild.hs b/Biz/Bild.hs
index 7df1fae..43be7b0 100644
--- a/Biz/Bild.hs
+++ b/Biz/Bild.hs
@@ -151,7 +151,7 @@ move :: Cli.Arguments -> IO ()
move args =
IO.hSetBuffering stdout IO.NoBuffering
>> pure (Cli.getAllArgs args (Cli.argument "target"))
- /> filter (not <. ("_" `List.isPrefixOf`))
+ /> filter (not <. Namespace.isCab)
+> filterM Dir.doesFileExist
+> traverse (\fn -> analyze fn /> (fn,))
/> filter (snd .> isJust)