mirror of
https://github.com/actions/checkout.git
synced 2025-03-14 04:14:10 +00:00
Rebuild index.js
This commit is contained in:
parent
7ac4fa665a
commit
f6d3681212
3
dist/index.js
vendored
3
dist/index.js
vendored
@ -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
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user