Skip to content

Commit

Permalink
Slightly change the error message when the node version is incorrect,…
Browse files Browse the repository at this point in the history
… to show the current node version (PR #2587)
  • Loading branch information
julienw committed Jun 9, 2020
1 parent 20826c6 commit 9366269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/pre-install.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function checkNode(agents /*: AgentsVersion */) {
const expectedNodeVersion = parseExpectedNodeVersion();
if (versionCompare(nodeVersion, expectedNodeVersion) < 0) {
console.error(
`This project expects at least Node version ${expectedNodeVersion}.`
`This project expects at least Node version ${expectedNodeVersion} but version ${nodeVersion} is currently used.`
);
console.error(
'You can use a tool like `nvm` to install and manage installed node versions.'
Expand Down

0 comments on commit 9366269

Please sign in to comment.