diff options
| author | eric sciple <ericsciple@users.noreply.github.com> | 2019-12-09 19:17:39 -0500 |
|---|---|---|
| committer | eric sciple <ericsciple@users.noreply.github.com> | 2019-12-09 19:17:39 -0500 |
| commit | 43dd82246c8abeb4da20bc1f567fbab55fdc6684 (patch) | |
| tree | 3054060a7c451f55f95e4bec79fa43e2c4eb2953 | |
| parent | 9ea23bb07074845fead9e36959e6d6d1632f7728 (diff) | |
.
| -rw-r--r-- | dist/index.js | 2 | ||||
| -rw-r--r-- | src/github-api-helper.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dist/index.js b/dist/index.js index e17ca9e..b0383d0 100644 --- a/dist/index.js +++ b/dist/index.js @@ -8098,7 +8098,7 @@ function downloadRepository(accessToken, owner, repo, ref, repositoryPath) { return __awaiter(this, void 0, void 0, function* () { const octokit = new github.GitHub(accessToken); const params = { - archive_format: IS_WINDOWS ? 'zipball' : 'tarballl', + archive_format: IS_WINDOWS ? 'zipball' : 'tarball', owner: owner, repo: repo, ref: ref diff --git a/src/github-api-helper.ts b/src/github-api-helper.ts index aa4ded2..21f8cd5 100644 --- a/src/github-api-helper.ts +++ b/src/github-api-helper.ts @@ -20,7 +20,7 @@ export async function downloadRepository( ): Promise<void> { const octokit = new github.GitHub(accessToken) const params: ReposGetArchiveLinkParams = { - archive_format: IS_WINDOWS ? 'zipball' : 'tarballl', + archive_format: IS_WINDOWS ? 'zipball' : 'tarball', owner: owner, repo: repo, ref: ref |
