diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-02-12 15:33:05 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-02-12 15:33:44 -0400 |
commit | 329267cb2b11da52956a86d9caec5225251a5ac1 (patch) | |
tree | ad86509598b515ed0529afc9f02c8076311f0004 /Remote/Web.hs | |
parent | 15b68af5e7897d5747d21174ecaa682b69b90865 (diff) |
avoid unncessary IO
Diffstat (limited to 'Remote/Web.hs')
-rw-r--r-- | Remote/Web.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Remote/Web.hs b/Remote/Web.hs index 17e3830a8..a4a484ca3 100644 --- a/Remote/Web.hs +++ b/Remote/Web.hs @@ -38,7 +38,7 @@ remote = RemoteType { -- a new release to the survivors by carrier pigeon.) list :: Annex [Git.Repo] list = do - r <- liftIO $ Git.Construct.remoteNamed "web" Git.Construct.fromUnknown + r <- liftIO $ Git.Construct.remoteNamed "web" (pure Git.Construct.fromUnknown) return [r] gen :: Git.Repo -> UUID -> RemoteConfig -> RemoteGitConfig -> Annex (Maybe Remote) |