eric sciple %!s(int64=5) %!d(string=hai) anos
pai
achega
c124b3fb75
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      dist/index.js
  2. 1 1
      src/github-api-helper.ts

+ 1 - 1
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

+ 1 - 1
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