mirror of
https://github.com/actions/checkout.git
synced 2025-03-14 04:14:10 +00:00
Check in current index.js after build
This commit is contained in:
parent
9355fc0a70
commit
8f0470a08c
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