mirror of
https://github.com/actions/setup-node.git
synced 2025-07-23 23:18:25 +02:00
change evaluateVersions
This commit is contained in:
parent
0d35e2c938
commit
9eba46a481
6 changed files with 53 additions and 115 deletions
|
@ -18,9 +18,9 @@ export default class RcBuild extends BaseDistribution {
|
|||
return response.result || [];
|
||||
}
|
||||
|
||||
protected evaluateVersions(nodeVersions: INodeVersion[]): string {
|
||||
protected evaluateVersions(versions: string[]): string {
|
||||
let version = '';
|
||||
const versions = this.filterVersions(nodeVersions);
|
||||
|
||||
core.debug(`evaluating ${versions.length} versions`);
|
||||
|
||||
for (let i = 0; i < versions.length; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue