1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2025-05-03 08:49:54 +02:00
This commit is contained in:
eric sciple 2019-12-10 01:53:12 -05:00
parent 4a1fa615de
commit eed20d30d5
2 changed files with 2 additions and 0 deletions

View file

@ -52,6 +52,7 @@ export async function downloadRepository(
}
const response = await octokit.repos.getArchiveLink(params)
console.log('GOT THE RESPONSE')
console.log(response.status)
if (response.status != 302) {
throw new Error(
`Unexpected response from GitHub API. Status: '${response.status}'`