mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-02 07:43:11 +03:00
parent
5def00185c
commit
c7448c46bd
@ -33,8 +33,7 @@ checks = {
|
||||
var semver = require('semver');
|
||||
|
||||
if (process.env.GHOST_NODE_VERSION_CHECK !== 'false' &&
|
||||
!semver.satisfies(process.versions.node, packages.engines.node) &&
|
||||
!semver.satisfies(process.versions.node, packages.engines.iojs)) {
|
||||
!semver.satisfies(process.versions.node, packages.engines.node)) {
|
||||
console.error('\x1B[31mERROR: Unsupported version of Node');
|
||||
console.error('\x1B[31mGhost needs Node version ' + packages.engines.node +
|
||||
' you are using version ' + process.versions.node + '\033[0m\n');
|
||||
|
Loading…
Reference in New Issue
Block a user