File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54246,7 +54246,7 @@ class BaseDistribution {
5424654246 const dataUrl = `${initialUrl}/index.json`;
5424754247 const headers = {};
5424854248 if (this.nodeInfo.mirrorToken) {
54249- headers['Authorization'] = `Bearer ${ this.nodeInfo.mirrorToken}` ;
54249+ headers['Authorization'] = this.nodeInfo.mirrorToken;
5425054250 }
5425154251 const response = await this.httpClient.getJson(dataUrl, headers);
5425254252 return response.result || [];
Original file line number Diff line number Diff line change @@ -470,7 +470,7 @@ Please refer to the [Ensuring workflow access to your package - Configuring a pa
470470It is possible to use a private mirror hosting Node.js binaries. This mirror must be a full mirror of the official Node.js distribution.
471471The mirror URL can be set using the `mirror` input.
472472It is possible to specify a token to authenticate with the mirror using the `mirror-token` input.
473- The token will be passed as a bearer token in the `Authorization` header.
473+ The token will be passed in the `Authorization` header.
474474
475475` ` ` yaml
476476- uses: actions/setup-node@v6
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ export default abstract class BaseDistribution {
103103 const headers = { } ;
104104
105105 if ( this . nodeInfo . mirrorToken ) {
106- headers [ 'Authorization' ] = `Bearer ${ this . nodeInfo . mirrorToken } ` ;
106+ headers [ 'Authorization' ] = this . nodeInfo . mirrorToken ;
107107 }
108108
109109 const response = await this . httpClient . getJson < INodeVersion [ ] > (
You can’t perform that action at this time.
0 commit comments