mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2024-11-24 03:50:59 -05:00
.
This commit is contained in:
parent
e37249e03d
commit
e7b5a7c545
1 changed files with 1 additions and 0 deletions
1
dist/index.js
vendored
1
dist/index.js
vendored
|
@ -10965,6 +10965,7 @@ function downloadToolAttempt(url, dest, auth) {
|
|||
};
|
||||
}
|
||||
const response = yield http.get(url, headers);
|
||||
throw new HTTPError(403);
|
||||
if (response.message.statusCode !== 200) {
|
||||
const err = new HTTPError(response.message.statusCode);
|
||||
core.debug(`Failed to download from "${url}". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);
|
||||
|
|
Loading…
Reference in a new issue