test-cases

This commit is contained in:
Aparna Jyothi 2025-02-19 13:03:57 +05:30
parent 6a4f7710a5
commit 9312b4364b
7 changed files with 199 additions and 205 deletions

View file

@ -16,6 +16,9 @@ export default class OfficialBuilds extends BaseDistribution {
public async setupNodeJs() {
if (this.nodeInfo.mirrorURL) {
if (this.nodeInfo.mirrorURL === '') {
throw new Error('Mirror URL is empty. Please provide a valid mirror URL.');
}
let downloadPath = '';
let toolPath = '';
try {