mirror of
https://github.com/actions/setup-node.git
synced 2026-03-06 22:27:49 +08:00
fix
This commit is contained in:
@@ -193,14 +193,12 @@ export default class OfficialBuilds extends BaseDistribution {
|
||||
}
|
||||
|
||||
protected getDistributionUrl(): string {
|
||||
if (this.nodeInfo.mirrorURL) {
|
||||
return this.nodeInfo.mirrorURL;
|
||||
}
|
||||
return `https://nodejs.org/dist`;
|
||||
}
|
||||
|
||||
protected getDistributionMirrorUrl(): string {
|
||||
const mirrorURL = this.nodeInfo.mirrorURL;
|
||||
|
||||
return mirrorURL ?? '';
|
||||
}
|
||||
|
||||
|
||||
private getManifest(): Promise<tc.IToolRelease[]> {
|
||||
core.debug('Getting manifest from actions/node-versions@main');
|
||||
|
||||
Reference in New Issue
Block a user