mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-01 00:23:59 +08:00 
			
		
		
		
	add silent
This commit is contained in:
		
							
								
								
									
										2
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							| @@ -71846,7 +71846,7 @@ function run() { | |||||||
|                 yield installer.getNode(version, stable, checkLatest, auth, arch); |                 yield installer.getNode(version, stable, checkLatest, auth, arch); | ||||||
|             } |             } | ||||||
|             // Output version of node is being used
 |             // Output version of node is being used
 | ||||||
|             const { stdout: installedVersion } = yield exec.getExecOutput('node', ['--version'], { ignoreReturnCode: true }); |             const { stdout: installedVersion } = yield exec.getExecOutput('node', ['--version'], { ignoreReturnCode: true, silent: false }); | ||||||
|             core.setOutput('node-version', installedVersion); |             core.setOutput('node-version', installedVersion); | ||||||
|             const registryUrl = core.getInput('registry-url'); |             const registryUrl = core.getInput('registry-url'); | ||||||
|             const alwaysAuth = core.getInput('always-auth'); |             const alwaysAuth = core.getInput('always-auth'); | ||||||
|   | |||||||
| @@ -44,7 +44,7 @@ export async function run() { | |||||||
|     const {stdout: installedVersion} = await exec.getExecOutput( |     const {stdout: installedVersion} = await exec.getExecOutput( | ||||||
|       'node', |       'node', | ||||||
|       ['--version'], |       ['--version'], | ||||||
|       {ignoreReturnCode: true} |       {ignoreReturnCode: true, silent: false} | ||||||
|     ); |     ); | ||||||
|     core.setOutput('node-version', installedVersion); |     core.setOutput('node-version', installedVersion); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Dmitry Shibanov
					Dmitry Shibanov