Skip to content

Commit

Permalink
chore: get head results from uploaded report
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosdevpereira committed Sep 27, 2022
1 parent 29550cb commit 46a61e6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,11 +294,9 @@ const getReport = async ({ reportUrl, retryCount = 3, ignoreErrors = false } = {
try {
const http = new HttpClient()
const res = await http.get(reportUrl)
core.info('get report response: ')
core.info(res)
const body = await res.readBody()
core.info('get report response body JSON: ')
core.info(JSON.parse(body))
core.info(JSON.stringify(JSON.parse(body)))

return JSON.parse(body)
} catch (error) {
Expand Down

0 comments on commit 46a61e6

Please sign in to comment.