error fix

This commit is contained in:
Aparna Jyothi 2025-02-03 16:51:29 +05:30
parent e10de1c4d7
commit 3c7912faec
2 changed files with 2 additions and 2 deletions

2
dist/setup/index.js vendored
View file

@ -100728,7 +100728,7 @@ class OfficialBuilds extends base_distribution_1.default {
const versions = this.filterVersions(nodeJsVersions);
const evaluatedVersion = this.evaluateVersions(versions);
if (!evaluatedVersion) {
throw new Error(`Unable to find Node version '${this.nodeInfo.versionSpec}' for platform ${this.osPlat} and architecture ${this.nodeInfo.arch}.`);
throw new Error(`Unable to find Node version '${this.nodeInfo.versionSpec}' for platform ${this.osPlat} and architecture ${this.nodeInfo.arch} from the provided ${this.nodeInfo.mirrorURL}.`);
}
const toolName = this.getNodejsMirrorURLInfo(evaluatedVersion);
try {

View file

@ -323,7 +323,7 @@ export default class OfficialBuilds extends BaseDistribution {
if (!evaluatedVersion) {
throw new Error(
`Unable to find Node version '${this.nodeInfo.versionSpec}' for platform ${this.osPlat} and architecture ${this.nodeInfo.arch}.`
`Unable to find Node version '${this.nodeInfo.versionSpec}' for platform ${this.osPlat} and architecture ${this.nodeInfo.arch} from the provided ${this.nodeInfo.mirrorURL}.`
);
}