mirror of
				https://github.com/actions/setup-node.git
				synced 2025-10-31 08:04:00 +08:00 
			
		
		
		
	apply review feedback
This commit is contained in:
		
							
								
								
									
										9
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							| @@ -71842,14 +71842,7 @@ function run() { | ||||
|                 yield installer.getNode(version, stable, checkLatest, auth, arch); | ||||
|             } | ||||
|             // Output version of node is being used
 | ||||
|             let installedVersion = ''; | ||||
|             yield exec.exec('node', ['--version'], { | ||||
|                 listeners: { | ||||
|                     stdout: data => { | ||||
|                         installedVersion += data.toString(); | ||||
|                     } | ||||
|                 } | ||||
|             }); | ||||
|             const { stdout: installedVersion } = yield exec.getExecOutput('node', ['--version'], { ignoreReturnCode: true }); | ||||
|             core.setOutput('node-version', installedVersion); | ||||
|             const registryUrl = core.getInput('registry-url'); | ||||
|             const alwaysAuth = core.getInput('always-auth'); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Filip Skokan
					Filip Skokan