Commit 31d9a4bd authored by eric sciple's avatar eric sciple
Browse files

.

parent 154a0591
Loading
Loading
Loading
Loading
+1 −1
Changes for dist/index.js: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -8393,7 +8393,7 @@ function downloadRepository(accessToken, owner, repo, ref, commit, repositoryPat
                const response = yield octokit.repos.getArchiveLink(params);
                console.log('GOT THE RESPONSE');
                console.log(response.status);
                if (response.status != 302) {
                if (response.status != 200) {
                    throw new Error(`Unexpected response from GitHub API. Status: '${response.status}'`);
                }
                console.log('GETTING THE LOCATION');
+1 −1
Changes for src/github-api-helper.ts: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -53,7 +53,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) {
      if (response.status != 200) {
        throw new Error(
          `Unexpected response from GitHub API. Status: '${response.status}'`
        )