This commit is contained in:
eric sciple 2019-12-09 19:36:02 -05:00
parent 34b9c46c61
commit 1475d13f7a
2 changed files with 4 additions and 4 deletions

4
dist/index.js vendored
View file

@ -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');

View file

@ -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')