mirror of
https://github.com/actions/checkout.git
synced 2025-04-01 22:10:06 +02:00
Rebuild index.js
This commit is contained in:
parent
7ac4fa665a
commit
f6d3681212
1 changed files with 0 additions and 3 deletions
3
dist/index.js
vendored
3
dist/index.js
vendored
|
@ -1554,9 +1554,6 @@ function downloadArchive(authToken, owner, repo, ref, commit, baseUrl) {
|
||||||
repo: repo,
|
repo: repo,
|
||||||
ref: commit || ref
|
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
|
return Buffer.from(response.data); // response.data is ArrayBuffer
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue