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 c768e51 commit 29550cb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,11 @@ const getReport = async ({ reportUrl, retryCount = 3, ignoreErrors = false } = {
try {
const http = new HttpClient()
const res = await http.get(reportUrl)
core.info('get report response: ', res)
core.info('get report response: ')
core.info(res)
const body = await res.readBody()
core.info('get report response body JSON: ', JSON.parse(body))
core.info('get report response body JSON: ')
core.info(JSON.parse(body))

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

0 comments on commit 29550cb

Please sign in to comment.