Fix hlint
This commit is contained in:
parent
6697e804ee
commit
b9c4c9a0b7
@ -336,7 +336,7 @@ versionToPVP v = either (\_ -> (, rest v) <$> alternative v) (pure . (, mempty))
|
||||
me' = maybe [] (\m -> [T.pack "+",m]) me
|
||||
pr' = foldable [] (T.pack "-" :) $ intersperse (T.pack ".") (chunksAsT pr)
|
||||
prefix = case (ver, pr', me') of
|
||||
((_:_), _, _) -> T.pack "."
|
||||
(_:_, _, _) -> T.pack "."
|
||||
_ -> T.pack ""
|
||||
in prefix <> mconcat (ver <> pr' <> me')
|
||||
where
|
||||
|
Loading…
Reference in New Issue
Block a user