mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-04-24 05:50:21 -05:00
chore: fix typo in version check message. (#1995)
This commit is contained in:
@@ -11,7 +11,7 @@ function checkNodeVersion (wanted, id) {
|
|||||||
if (!semver.satisfies(process.version, wanted)) {
|
if (!semver.satisfies(process.version, wanted)) {
|
||||||
console.log(chalk.red(
|
console.log(chalk.red(
|
||||||
'You are using Node ' + process.version + ', but this version of ' + id +
|
'You are using Node ' + process.version + ', but this version of ' + id +
|
||||||
'requires Node ' + wanted + '.\nPlease upgrade your Node version.'
|
' requires Node ' + wanted + '.\nPlease upgrade your Node version.'
|
||||||
))
|
))
|
||||||
process.exit(1)
|
process.exit(1)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user