mirror of
https://github.com/actions/setup-node.git
synced 2026-02-04 14:38:19 +00:00
fix: remove hardcoded bearer
This commit is contained in:
parent
2951748f4c
commit
0e2c5c90a1
3 changed files with 3 additions and 3 deletions
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
|
|
@ -54246,7 +54246,7 @@ class BaseDistribution {
|
|||
const dataUrl = `${initialUrl}/index.json`;
|
||||
const headers = {};
|
||||
if (this.nodeInfo.mirrorToken) {
|
||||
headers['Authorization'] = `Bearer ${this.nodeInfo.mirrorToken}`;
|
||||
headers['Authorization'] = this.nodeInfo.mirrorToken;
|
||||
}
|
||||
const response = await this.httpClient.getJson(dataUrl, headers);
|
||||
return response.result || [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue