mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2024-11-22 12:50:56 -05:00
Remove extra version logging
This commit is contained in:
parent
52eb8a7524
commit
0dc69b3a71
2 changed files with 0 additions and 2 deletions
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 a new issue