diff options
Diffstat (limited to 'Git.hs')
-rw-r--r-- | Git.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -345,7 +345,7 @@ urlPort :: Repo -> Maybe Integer urlPort r = case urlAuthPart uriPort r of ":" -> Nothing - (':':p) -> Just (read p) + (':':p) -> readMaybe p _ -> Nothing {- Hostname of an URL repo, including any username (ie, "user@host") -} |