aboutsummaryrefslogtreecommitdiff
path: root/src/CabalHelper/Shared/Common.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/CabalHelper/Shared/Common.hs')
-rw-r--r--src/CabalHelper/Shared/Common.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/CabalHelper/Shared/Common.hs b/src/CabalHelper/Shared/Common.hs
index d65722b..031adcf 100644
--- a/src/CabalHelper/Shared/Common.hs
+++ b/src/CabalHelper/Shared/Common.hs
@@ -93,7 +93,6 @@ parsePkgIdBS bs =
(vers, pkg') ->
Just ( BS.reverse $ BS.tail pkg'
, parseVer (BS8.unpack (BS.reverse vers)))
- _ -> Nothing
parseVer :: String -> Version
parseVer vers = runReadP parseVersion vers