mirror of
https://github.com/actions/setup-node.git
synced 2025-06-29 22:23:47 +00:00
tests
This commit is contained in:
parent
19df1001b0
commit
f40797d717
7 changed files with 295 additions and 78 deletions
|
@ -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[]> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue