Skip to content

Commit

Permalink
Add percentage sign after total coverage value diplayed after receivi…
Browse files Browse the repository at this point in the history
…ng response from Codecov
  • Loading branch information
killy971 committed Sep 27, 2014
1 parent f47f76e commit 6ff2af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Trace/Hpc/Codecov/Curl.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import Trace.Hpc.Codecov.Types

parseResponse :: CurlResponse -> PostResult
parseResponse r = case respCurlCode r of
CurlOK -> PostSuccess (getField "url") (show $ (getField "coverage" :: Integer))
CurlOK -> PostSuccess (getField "url") ((show (getField "coverage" :: Integer)) ++ "%")
_ -> PostFailure $ getField "message"
where getField fieldName = fromJust $ mGetField fieldName
mGetField fieldName = do
Expand Down

0 comments on commit 6ff2af2

Please sign in to comment.