mirror of
https://gitea.com/actions/setup-node.git
synced 2025-12-14 12:41:33 +08:00
minor fix
This commit is contained in:
@@ -150,7 +150,7 @@ export default class OfficialBuilds extends BaseDistribution {
|
||||
|
||||
core.debug(`evaluating ${versions.length} versions`);
|
||||
|
||||
for (let i = versions.length - 1; i >= 0; i--) {
|
||||
for (let i = 0; i < versions.length; i++) {
|
||||
const potential: string = versions[i];
|
||||
const satisfied: boolean = semver.satisfies(
|
||||
potential,
|
||||
|
||||
Reference in New Issue
Block a user