Remove io.js reference from startup-check

Refs #6643
This commit is contained in:
Jason Williams 2016-04-07 23:06:07 -05:00
parent 5def00185c
commit c7448c46bd

View File

@ -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');