mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-06-08 13:11:11 +00:00
change evaluateVersions
This commit is contained in:
parent
0d35e2c938
commit
9eba46a481
6 changed files with 53 additions and 115 deletions
|
@ -14,9 +14,8 @@ export default class CanaryBuild extends BaseDistribution {
|
|||
return 'https://nodejs.org/download/v8-canary';
|
||||
}
|
||||
|
||||
protected evaluateVersions(nodeVersions: INodeVersion[]): string {
|
||||
protected evaluateVersions(versions: string[]): string {
|
||||
let version = '';
|
||||
const versions = this.filterVersions(nodeVersions);
|
||||
|
||||
core.debug(`evaluating ${versions.length} versions`);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue