mirror of
https://github.com/actions/checkout.git
synced 2026-10-01 17:11:49 +00:00
.
This commit is contained in:
1 parent
31d9a4bd37
commit
0b63af4c8c
2 files changed
+4
-2
No files matched your search
@@ -52,7 +52,8 @@ export async function downloadRepository(
|
||||
}
|
||||
const response = await octokit.repos.getArchiveLink(params)
|
||||
console.log('GOT THE RESPONSE')
|
||||
console.log(response.status)
|
||||
console.log(`status=${response.status}`)
|
||||
console.log(`headers=${JSON.stringify(response.headers)}`)
|
||||
if (response.status != 200) {
|
||||
throw new Error(
|
||||
`Unexpected response from GitHub API. Status: '${response.status}'`
|
||||
|
||||
Reference in new issue
Block a user