mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-02-13 11:40:33 -05:00
error fix
This commit is contained in:
parent
e10de1c4d7
commit
3c7912faec
2 changed files with 2 additions and 2 deletions
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
|
@ -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…
Add table
Reference in a new issue