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