mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-04 11:35:20 +08:00 
			
		
		
		
	Remove extra version logging
This commit is contained in:
		
							
								
								
									
										1
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							@@ -15224,7 +15224,6 @@ function run() {
 | 
			
		||||
                yield installer.getNode(version);
 | 
			
		||||
            }
 | 
			
		||||
            // Output version of node and npm that are being used
 | 
			
		||||
            console.log(`Installed Node version '${version}.`);
 | 
			
		||||
            const nodePath = yield io.which('node');
 | 
			
		||||
            const nodeVersion = child_process_1.default.execSync(`${nodePath} --version`);
 | 
			
		||||
            console.log(`Node Version: ${nodeVersion}`);
 | 
			
		||||
 
 | 
			
		||||
@@ -20,7 +20,6 @@ async function run() {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    // Output version of node and npm that are being used
 | 
			
		||||
    console.log(`Installed Node version '${version}.`);
 | 
			
		||||
    const nodePath = await io.which('node');
 | 
			
		||||
    const nodeVersion = cp.execSync(`${nodePath} --version`);
 | 
			
		||||
    console.log(`Node Version: ${nodeVersion}`);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user