0
1
Fork 0
mirror of https://github.com/actions/checkout synced 2024-06-26 15:58:20 +02:00

Check in current index.js after build

This commit is contained in:
Ferenc Hammerl 2023-04-11 11:43:57 +00:00
parent 9355fc0a70
commit 8f0470a08c

3
dist/index.js vendored
View file

@ -1554,9 +1554,6 @@ function downloadArchive(authToken, owner, repo, ref, commit, baseUrl) {
repo: repo,
ref: commit || ref
});
if (response.status != 302) {
throw new Error(`Unexpected response from GitHub API. Status: ${response.status}, Data: ${response.data}`);
}
return Buffer.from(response.data); // response.data is ArrayBuffer
});
}