mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-04 01:33:33 +00:00 
			
		
		
		
	add debug line
This commit is contained in:
		
							parent
							
								
									60732b4966
								
							
						
					
					
						commit
						817ef3e405
					
				
							
								
								
									
										1
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							@ -73330,6 +73330,7 @@ function getNode(versionSpec, stable, checkLatest, auth, arch = os.arch()) {
 | 
			
		||||
exports.getNode = getNode;
 | 
			
		||||
function findNightlyVersionInHostedToolcache(versionsSpec, osArch) {
 | 
			
		||||
    const foundAllVersions = tc.findAllVersions('node', osArch);
 | 
			
		||||
    core.debug(foundAllVersions.join('\n'));
 | 
			
		||||
    const version = evaluateVersions(foundAllVersions, versionsSpec);
 | 
			
		||||
    return version;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -220,6 +220,7 @@ function findNightlyVersionInHostedToolcache(
 | 
			
		||||
  osArch: string
 | 
			
		||||
) {
 | 
			
		||||
  const foundAllVersions = tc.findAllVersions('node', osArch);
 | 
			
		||||
  core.debug(foundAllVersions.join('\n'));
 | 
			
		||||
  const version = evaluateVersions(foundAllVersions, versionsSpec);
 | 
			
		||||
 | 
			
		||||
  return version;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user