diff --git a/src/codecovio.jl b/src/codecovio.jl index f72993a..4031b60 100644 --- a/src/codecovio.jl +++ b/src/codecovio.jl @@ -217,7 +217,7 @@ module Codecov data = to_json(fcs) req = HTTP.post(uri_str; body = JSON.json(data), headers = heads) println("Result of submission:") - println(String(req.data)) + println(String(req)) end end diff --git a/src/coveralls.jl b/src/coveralls.jl index 967332f..6cf7a8c 100644 --- a/src/coveralls.jl +++ b/src/coveralls.jl @@ -61,7 +61,7 @@ module Coveralls "https://coveralls.io/api/v1/jobs", files = [FileParam(JSON.json(data),"application/json","json_file","coverage.json")]) println("Result of submission:") - println(String(req.data)) + println(String(req)) elseif lowercase(get(ENV, "TRAVIS", "false")) == "true" data = Dict("service_job_id" => ENV["TRAVIS_JOB_ID"], @@ -72,7 +72,7 @@ module Coveralls "https://coveralls.io/api/v1/jobs", files = [FileParam(JSON.json(data),"application/json","json_file","coverage.json")]) println("Result of submission:") - println(String(req.data)) + println(String(req)) else error("No compatible CI platform detected") end @@ -138,6 +138,6 @@ module Coveralls r = HTTP.post("https://coveralls.io/api/v1/jobs", files = [FileParam(JSON.json(data),"application/json","json_file","coverage.json")]) println("Result of submission:") - println(String(r.data)) + println(String(r)) end end # module Coveralls