This commit is contained in:
Aparna Jyothi 2025-01-31 17:52:23 +05:30
parent 19df1001b0
commit f40797d717
7 changed files with 295 additions and 78 deletions

View file

@ -198,10 +198,8 @@ export default class OfficialBuilds extends BaseDistribution {
protected getDistributionMirrorUrl(): string {
const mirrorURL = this.nodeInfo.mirrorURL;
if (!mirrorURL) {
throw new Error('Mirror URL is undefined');
}
return mirrorURL;
return mirrorURL ?? '';
}
private getManifest(): Promise<tc.IToolRelease[]> {