Skip to content

Commit

Permalink
gh-actions/retest: AZP cleanups (#800)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Northey <ryan@synca.io>
  • Loading branch information
phlax authored Aug 20, 2023
1 parent 8da3476 commit 42b2fd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gh-actions/retest/dist/index.js

Large diffs are not rendered by default.

8 changes: 3 additions & 5 deletions gh-actions/retest/retest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,6 @@ class RetestCommand {
retestExternal = async (check: Retest): Promise<any | void> => {
let response: AxiosResponse
if (check.method == 'patch') {
console.log(`CONFIG: ${check.config}`)
console.log(`URL ${check.url}`)
try {
response = await axios.patch(check.url, {}, check.config)
/* eslint-disable prettier/prettier */
Expand All @@ -125,9 +123,9 @@ class RetestCommand {
console.log('No response received')
return
}
console.log(error.response.data)
console.log(error.response.status)
console.log(error.response.headers)
console.error(`External API call failed: ${check.url}`)
console.error(error.response.status)
console.error(error.response.data)
return
}
} else {
Expand Down

0 comments on commit 42b2fd2

Please sign in to comment.