diff --git a/dist/setup/index.js b/dist/setup/index.js index b13e9f09..56434c07 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -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} from the provided ${this.nodeInfo.mirrorURL}.`); + throw new Error(`Unable to find Node version '${this.nodeInfo.versionSpec}' for platform ${this.osPlat} and architecture ${this.nodeInfo.arch} from the provided mirror-url ${this.nodeInfo.mirrorURL}. Please check the mirror-url`); } const toolName = this.getNodejsMirrorURLInfo(evaluatedVersion); try { diff --git a/src/distributions/official_builds/official_builds.ts b/src/distributions/official_builds/official_builds.ts index e4f56499..151f2298 100644 --- a/src/distributions/official_builds/official_builds.ts +++ b/src/distributions/official_builds/official_builds.ts @@ -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} from the provided ${this.nodeInfo.mirrorURL}.` + `Unable to find Node version '${this.nodeInfo.versionSpec}' for platform ${this.osPlat} and architecture ${this.nodeInfo.arch} from the provided mirror-url ${this.nodeInfo.mirrorURL}. Please check the mirror-url` ); }