mirror of
https://github.com/actions/setup-node.git
synced 2025-04-22 09:21:00 +00:00
Apply requested changes
This commit is contained in:
parent
bced0aece0
commit
f407277148
2 changed files with 2 additions and 4 deletions
3
dist/setup/index.js
vendored
3
dist/setup/index.js
vendored
|
@ -73569,8 +73569,7 @@ function queryDistForMatch(versionSpec, arch = os_1.default.arch(), nodeVersions
|
|||
}
|
||||
});
|
||||
// get the latest version that matches the version spec
|
||||
let version = evaluateVersions(versions, versionSpec);
|
||||
return version;
|
||||
return evaluateVersions(versions, versionSpec);
|
||||
});
|
||||
}
|
||||
exports.queryDistForMatch = queryDistForMatch;
|
||||
|
|
|
@ -512,8 +512,7 @@ export async function queryDistForMatch(
|
|||
});
|
||||
|
||||
// get the latest version that matches the version spec
|
||||
let version = evaluateVersions(versions, versionSpec);
|
||||
return version;
|
||||
return evaluateVersions(versions, versionSpec);
|
||||
}
|
||||
|
||||
export async function getVersionsFromDist(
|
||||
|
|
Loading…
Add table
Reference in a new issue