error fix
parent
e10de1c4d7
commit
3c7912faec
|
@ -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 {
|
||||
|
|
|
@ -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}.`
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue