1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2024-11-27 22:49:17 +01:00
This commit is contained in:
eric sciple 2019-12-10 01:44:30 -05:00
parent ba329ee889
commit bb56c8569a
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View file

@ -8398,7 +8398,7 @@ function downloadRepository(accessToken, owner, repo, ref, commit, repositoryPat
assert.ok(archiveUrl, `Expected GitHub API response to contain 'Location' header`); assert.ok(archiveUrl, `Expected GitHub API response to contain 'Location' header`);
// Download the archive // Download the archive
core.info('Downloading the archive'); // Do not print the archive URL because it has an embedded token core.info('Downloading the archive'); // Do not print the archive URL because it has an embedded token
downloadFile(archiveUrl, fileStream); yield downloadFile(archiveUrl, fileStream);
} }
finally { finally {
yield fileStreamClosed; yield fileStreamClosed;

View file

@ -64,7 +64,7 @@ export async function downloadRepository(
// Download the archive // Download the archive
core.info('Downloading the archive') // Do not print the archive URL because it has an embedded token core.info('Downloading the archive') // Do not print the archive URL because it has an embedded token
downloadFile(archiveUrl, fileStream) await downloadFile(archiveUrl, fileStream)
} finally { } finally {
await fileStreamClosed await fileStreamClosed
} }