Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreric sciple <ericsciple@users.noreply.github.com>2019-12-09 19:17:39 -0500
committereric sciple <ericsciple@users.noreply.github.com>2019-12-09 19:17:39 -0500
commit43dd82246c8abeb4da20bc1f567fbab55fdc6684 (patch)
tree3054060a7c451f55f95e4bec79fa43e2c4eb2953
parent9ea23bb07074845fead9e36959e6d6d1632f7728 (diff)
.
-rw-r--r--dist/index.js2
-rw-r--r--src/github-api-helper.ts2
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