From 1475d13f7a5888c629cdade9f378588ca8a9cc47 Mon Sep 17 00:00:00 2001 From: eric sciple Date: Mon, 9 Dec 2019 19:36:02 -0500 Subject: [PATCH] . --- dist/index.js | 4 ++-- src/github-api-helper.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index 4ebc2e6..3eab35f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -8110,8 +8110,8 @@ function downloadRepository(accessToken, owner, repo, ref, repositoryPath) { } console.log(`status=${response.status}`); console.log(`headers=${JSON.stringify(response.headers)}`); - console.log(`data=${JSON.stringify(typeof response.data)}`); - console.log(`data.length=${response.data.length}`); + console.log(`data=${response.data}`); + console.log(`data=${JSON.stringify(response.data)}`); 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 33565c5..fefddd0 100644 --- a/src/github-api-helper.ts +++ b/src/github-api-helper.ts @@ -34,8 +34,8 @@ export async function downloadRepository( } console.log(`status=${response.status}`) console.log(`headers=${JSON.stringify(response.headers)}`) - console.log(`data=${JSON.stringify(typeof response.data)}`) - console.log(`data.length=${(response.data as Buffer).length}`) + console.log(`data=${response.data}`) + console.log(`data=${JSON.stringify(response.data)}`) const runnerTemp = process.env['RUNNER_TEMP'] as string assert.ok(runnerTemp, 'RUNNER_TEMP not defined') const archiveFile = path.join(runnerTemp, 'checkout.tar.gz')