use mapM_
This commit is contained in:
parent
4a0fe24f39
commit
d007e58a54
4 changed files with 4 additions and 4 deletions
|
@ -88,7 +88,7 @@ unusedKeys = do
|
|||
|
||||
-- Tmp files that are dups of content already present can simply
|
||||
-- be removed.
|
||||
_ <- liftIO $ mapM (\t -> removeFile $ gitAnnexTmpLocation g t) duptmp
|
||||
liftIO $ mapM_ (\t -> removeFile $ gitAnnexTmpLocation g t) duptmp
|
||||
|
||||
return (unused, staletmp)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue