propellor spin

This commit is contained in:
Joey Hess 2014-12-05 14:06:48 -04:00
parent be8317c790
commit c24bdec620
Failed to extract signature
1 changed files with 2 additions and 1 deletions

View File

@ -137,7 +137,8 @@ massRename :: [(FilePath, FilePath)] -> IO ()
massRename = go []
where
go _ [] = return ()
go undo ((from, to):rest) =
go undo ((from, to):rest) = do
warningMessage $ show ("rename", from, to)
tryNonAsync (rename from to)
>>= either
(rollback undo)