use mapM_
This commit is contained in:
parent
4a0fe24f39
commit
d007e58a54
4 changed files with 4 additions and 4 deletions
|
@ -41,7 +41,7 @@ upgradeFrom0 = do
|
|||
-- do the reorganisation of the files
|
||||
let olddir = gitAnnexDir g
|
||||
keys <- getKeysPresent0' olddir
|
||||
_ <- mapM (\k -> moveAnnex k $ olddir </> keyFile k) keys
|
||||
mapM_ (\k -> moveAnnex k $ olddir </> keyFile k) keys
|
||||
|
||||
-- update the symlinks to the files
|
||||
files <- liftIO $ Git.inRepo g [Git.workTree g]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue