From e7d8850882db55e8e590fa91cafa9a6a08155e95 Mon Sep 17 00:00:00 2001 From: eric sciple Date: Mon, 9 Dec 2019 19:37:05 -0500 Subject: [PATCH] . --- dist/index.js | 3 +++ src/github-api-helper.ts | 3 +++ 2 files changed, 6 insertions(+) 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')