summaryrefslogtreecommitdiff
path: root/Command/Whereis.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-06-12 11:32:06 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-06-12 11:32:06 -0400
commit942d8f72984377c4e69d7c55877621d434e5d687 (patch)
treeda1f205c66d57a4a88c727af382c4d6e09c2e881 /Command/Whereis.hs
parent85f0992c0378aad442da5dbbd5deadffe33f77e1 (diff)
hlint
Diffstat (limited to 'Command/Whereis.hs')
-rw-r--r--Command/Whereis.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Whereis.hs b/Command/Whereis.hs
index eb6ea7c56..b697bf554 100644
--- a/Command/Whereis.hs
+++ b/Command/Whereis.hs
@@ -37,7 +37,7 @@ perform remotemap key = do
unless (null safelocations) $ showLongNote pp
pp' <- prettyPrintUUIDs "untrusted" untrustedlocations
unless (null untrustedlocations) $ showLongNote $ untrustedheader ++ pp'
- forM_ (catMaybes $ map (`M.lookup` remotemap) locations) $
+ forM_ (mapMaybe (`M.lookup` remotemap) locations) $
performRemote key
if null safelocations then stop else next $ return True
where