Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/src/github-api-helper.ts
diff options
context:
space:
mode:
authoreric sciple <ericsciple@users.noreply.github.com>2019-12-09 19:36:02 -0500
committereric sciple <ericsciple@users.noreply.github.com>2019-12-09 19:36:02 -0500
commitda10c02901a5fe38f118bf0045fb813ad8c22e27 (patch)
tree991b8accc9e4b2865ce047ab36a0c4db06f9841c /src/github-api-helper.ts
parentce1305582edd16c600060f2736c4ac4ff55af66c (diff)
.
Diffstat (limited to 'src/github-api-helper.ts')
-rw-r--r--src/github-api-helper.ts4
1 files changed, 2 insertions, 2 deletions
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')