diff options
author | Joey Hess <joey@kitenet.net> | 2012-06-12 11:32:06 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-06-12 11:32:06 -0400 |
commit | 942d8f72984377c4e69d7c55877621d434e5d687 (patch) | |
tree | da1f205c66d57a4a88c727af382c4d6e09c2e881 /Command/Fsck.hs | |
parent | 85f0992c0378aad442da5dbbd5deadffe33f77e1 (diff) |
hlint
Diffstat (limited to 'Command/Fsck.hs')
-rw-r--r-- | Command/Fsck.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Command/Fsck.hs b/Command/Fsck.hs index 1fc656207..7bfc46f4a 100644 --- a/Command/Fsck.hs +++ b/Command/Fsck.hs @@ -145,13 +145,13 @@ fixLink key file = do -} whenM (liftIO $ doesFileExist file) $ unlessM (inAnnex key) $ do - showNote $ "fixing content location" + showNote "fixing content location" dir <- liftIO $ parentDir <$> absPath file let content = absPathFrom dir have liftIO $ allowWrite (parentDir content) moveAnnex key content - showNote $ "fixing link" + showNote "fixing link" liftIO $ createDirectoryIfMissing True (parentDir file) liftIO $ removeFile file liftIO $ createSymbolicLink want file @@ -220,7 +220,7 @@ checkKeySize' key file bad = case Types.Key.keySize key of Nothing -> return True Just size -> do size' <- fromIntegral . fileSize - <$> (liftIO $ getFileStatus file) + <$> liftIO (getFileStatus file) comparesizes size size' where comparesizes a b = do |