From aeb38684ac6061af028c6f9355b413f464de8c49 Mon Sep 17 00:00:00 2001 From: eric sciple Date: Tue, 10 Dec 2019 01:52:10 -0500 Subject: . --- src/github-api-helper.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/github-api-helper.ts') 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, -- cgit v1.2.3