mirror of
https://github.com/actions/setup-node.git
synced 2025-04-24 04:20:49 +00:00
minor changes
This commit is contained in:
parent
cd6d6a6700
commit
df00183c09
2 changed files with 2 additions and 2 deletions
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
|
@ -73293,7 +73293,7 @@ class BaseDistribution {
|
||||||
core.info(`Found in cache @ ${toolPath}`);
|
core.info(`Found in cache @ ${toolPath}`);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
nodeVersions !== null && nodeVersions !== void 0 ? nodeVersions : (nodeVersions = yield this.getNodejsVersions());
|
nodeVersions = nodeVersions !== null && nodeVersions !== void 0 ? nodeVersions : (yield this.getNodejsVersions());
|
||||||
const versions = this.filterVersions(nodeVersions);
|
const versions = this.filterVersions(nodeVersions);
|
||||||
const evaluatedVersion = this.evaluateVersions(versions);
|
const evaluatedVersion = this.evaluateVersions(versions);
|
||||||
if (!evaluatedVersion) {
|
if (!evaluatedVersion) {
|
||||||
|
|
|
@ -42,7 +42,7 @@ export default abstract class BaseDistribution {
|
||||||
if (toolPath) {
|
if (toolPath) {
|
||||||
core.info(`Found in cache @ ${toolPath}`);
|
core.info(`Found in cache @ ${toolPath}`);
|
||||||
} else {
|
} else {
|
||||||
nodeVersions ??= await this.getNodejsVersions();
|
nodeVersions = nodeVersions ?? (await this.getNodejsVersions());
|
||||||
const versions = this.filterVersions(nodeVersions);
|
const versions = this.filterVersions(nodeVersions);
|
||||||
const evaluatedVersion = this.evaluateVersions(versions);
|
const evaluatedVersion = this.evaluateVersions(versions);
|
||||||
if (!evaluatedVersion) {
|
if (!evaluatedVersion) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue