diff options
| author | eric sciple <ericsciple@users.noreply.github.com> | 2019-12-10 01:52:10 -0500 |
|---|---|---|
| committer | eric sciple <ericsciple@users.noreply.github.com> | 2019-12-10 01:52:10 -0500 |
| commit | aeb38684ac6061af028c6f9355b413f464de8c49 (patch) | |
| tree | a9136ec0b145fdadce15f38d3a5fbb811f2ce8cf /src/github-api-helper.ts | |
| parent | be4fb9fdcea5a33f62f759c74eee936a3020cd3b (diff) | |
.
Diffstat (limited to 'src/github-api-helper.ts')
| -rw-r--r-- | src/github-api-helper.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/github-api-helper.ts b/src/github-api-helper.ts index 8bec9a6..f4aa8a8 100644 --- a/src/github-api-helper.ts +++ b/src/github-api-helper.ts @@ -51,11 +51,13 @@ export async function downloadRepository( ref: refHelper.getDownloadRef(ref, commit) } const response = await octokit.repos.getArchiveLink(params) + console.log('GOT THE RESPONSE') if (response.status != 302) { throw new Error( `Unexpected response from GitHub API. Status: '${response.status}'` ) } + console.log('GETTING THE LOCATION') const archiveUrl = response.headers['Location'] // Do not print the archive URL because it has an embedded token assert.ok( archiveUrl, |
