3
0
Fork 0
mirror of https://gitea.com/actions/setup-node.git synced 2024-11-22 01:59:32 +01:00

add silent

This commit is contained in:
Dmitry Shibanov 2022-07-12 10:30:30 +02:00
parent 5b949b50c3
commit aab7cc882a
2 changed files with 2 additions and 2 deletions

2
dist/setup/index.js vendored
View file

@ -71846,7 +71846,7 @@ function run() {
yield installer.getNode(version, stable, checkLatest, auth, arch);
}
// 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);
const registryUrl = core.getInput('registry-url');
const alwaysAuth = core.getInput('always-auth');

View file

@ -44,7 +44,7 @@ export async function run() {
const {stdout: installedVersion} = await exec.getExecOutput(
'node',
['--version'],
{ignoreReturnCode: true}
{ignoreReturnCode: true, silent: false}
);
core.setOutput('node-version', installedVersion);