diff options
| author | eric sciple <ericsciple@users.noreply.github.com> | 2019-12-09 19:37:05 -0500 |
|---|---|---|
| committer | eric sciple <ericsciple@users.noreply.github.com> | 2019-12-09 19:37:05 -0500 |
| commit | e9a7db3cb4a294efc7002d4e3d44e3f3e5315d00 (patch) | |
| tree | 57ee3b1cfa37dc6bc4f74091d2b40bd9e0703154 | |
| parent | da10c02901a5fe38f118bf0045fb813ad8c22e27 (diff) | |
.
| -rw-r--r-- | dist/index.js | 3 | ||||
| -rw-r--r-- | src/github-api-helper.ts | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/dist/index.js b/dist/index.js index 3eab35f..985bd4f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -8112,6 +8112,9 @@ function downloadRepository(accessToken, owner, repo, ref, repositoryPath) { console.log(`headers=${JSON.stringify(response.headers)}`); console.log(`data=${response.data}`); console.log(`data=${JSON.stringify(response.data)}`); + for (const key of Object.keys(response.data)) { + console.log(`data['${key}']=${response.data[key]}`); + } const runnerTemp = process.env['RUNNER_TEMP']; assert.ok(runnerTemp, 'RUNNER_TEMP not defined'); const archiveFile = path.join(runnerTemp, 'checkout.tar.gz'); diff --git a/src/github-api-helper.ts b/src/github-api-helper.ts index fefddd0..7896967 100644 --- a/src/github-api-helper.ts +++ b/src/github-api-helper.ts @@ -36,6 +36,9 @@ export async function downloadRepository( console.log(`headers=${JSON.stringify(response.headers)}`) console.log(`data=${response.data}`) console.log(`data=${JSON.stringify(response.data)}`) + for (const key of Object.keys(response.data)) { + console.log(`data['${key}']=${response.data[key]}`) + } const runnerTemp = process.env['RUNNER_TEMP'] as string assert.ok(runnerTemp, 'RUNNER_TEMP not defined') const archiveFile = path.join(runnerTemp, 'checkout.tar.gz') |
