mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-04 06:43:35 +00:00 
			
		
		
		
	minor changes
This commit is contained in:
		
							parent
							
								
									cd6d6a6700
								
							
						
					
					
						commit
						df00183c09
					
				
							
								
								
									
										2
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							@ -73293,7 +73293,7 @@ class BaseDistribution {
 | 
			
		||||
                core.info(`Found in cache @ ${toolPath}`);
 | 
			
		||||
            }
 | 
			
		||||
            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 evaluatedVersion = this.evaluateVersions(versions);
 | 
			
		||||
                if (!evaluatedVersion) {
 | 
			
		||||
 | 
			
		||||
@ -42,7 +42,7 @@ export default abstract class BaseDistribution {
 | 
			
		||||
    if (toolPath) {
 | 
			
		||||
      core.info(`Found in cache @ ${toolPath}`);
 | 
			
		||||
    } else {
 | 
			
		||||
      nodeVersions ??= await this.getNodejsVersions();
 | 
			
		||||
      nodeVersions = nodeVersions ?? (await this.getNodejsVersions());
 | 
			
		||||
      const versions = this.filterVersions(nodeVersions);
 | 
			
		||||
      const evaluatedVersion = this.evaluateVersions(versions);
 | 
			
		||||
      if (!evaluatedVersion) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user