diff options
| author | eric sciple <ericsciple@users.noreply.github.com> | 2019-12-10 03:00:06 -0500 |
|---|---|---|
| committer | eric sciple <ericsciple@users.noreply.github.com> | 2019-12-10 03:00:06 -0500 |
| commit | 3388804be6d39ed18d242a6339312274c18fed23 (patch) | |
| tree | 7017bf5d57adbc6956bb94177fbb8475994582de | |
| parent | 6569813a4247155d52fdd1cc69607af6e93239b3 (diff) | |
| -rw-r--r-- | src/github-api-helper.ts | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/github-api-helper.ts b/src/github-api-helper.ts index b3385a5..dc30870 100644 --- a/src/github-api-helper.ts +++ b/src/github-api-helper.ts @@ -72,11 +72,6 @@ export async function downloadRepository( // } // }) - // await fs.promises.writeFile(archivePath, raw) - // // await exec.exec(`ls -la "${archiveFile}"`, [], { - // // cwd: repositoryPath - // // } as ExecOptions) - // Extract archive const extractPath = path.join(runnerTemp, `checkout`) await io.rmRF(extractPath) @@ -86,9 +81,6 @@ export async function downloadRepository( } else { await toolCache.extractTar(archivePath, extractPath) } - // await exec.exec(`tar -xzf "${archiveFile}"`, [], { - // cwd: extractPath - // } as ExecOptions) // Determine the real directory to copy (ignore extra dir at root of the archive) const archiveFileNames = await fs.promises.readdir(extractPath) |
