minor changes

This commit is contained in:
Dmitry Shibanov 2022-12-22 02:09:21 +01:00
parent cd6d6a6700
commit df00183c09
2 changed files with 2 additions and 2 deletions

2
dist/setup/index.js vendored
View file

@ -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) {

View file

@ -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) {