17 lines
474 B
TypeScript
Raw Normal View History

import BasePrereleaseNodejs from '../base-distribution-prerelease';
import {NodeInputs} from '../base-models';
export default class CanaryBuild extends BasePrereleaseNodejs {
protected distribution = 'v8-canary';
constructor(nodeInfo: NodeInputs) {
super(nodeInfo);
}
protected getDistributionUrl(): string {
2025-02-19 19:10:42 +05:30
if (this.nodeInfo.mirrorURL) {
2025-02-24 12:40:37 +05:30
return this.nodeInfo.mirrorURL;
2025-02-19 19:10:42 +05:30
} else {
return 'https://nodejs.org/download/v8-canary';
}
}
}