Commit bb56c856 authored by eric sciple's avatar eric sciple
Browse files

.

parent ba329ee8
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
@@ -8398,7 +8398,7 @@ function downloadRepository(accessToken, owner, repo, ref, commit, repositoryPat
                assert.ok(archiveUrl, `Expected GitHub API response to contain 'Location' header`);
                // Download the archive
                core.info('Downloading the archive'); // Do not print the archive URL because it has an embedded token
                downloadFile(archiveUrl, fileStream);
                yield downloadFile(archiveUrl, fileStream);
            }
            finally {
                yield fileStreamClosed;
+1 −1
Changes for src/github-api-helper.ts: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@ export async function downloadRepository(

      // Download the archive
      core.info('Downloading the archive') // Do not print the archive URL because it has an embedded token
      downloadFile(archiveUrl, fileStream)
      await downloadFile(archiveUrl, fileStream)
    } finally {
      await fileStreamClosed
    }