fixed dependency check for cerulean

v1.18.x
psychobunny 11 years ago
parent e83e7870ce
commit df53d836e5

@ -81,7 +81,7 @@
winston.info('Base Configuration OK.'); winston.info('Base Configuration OK.');
} }
if (semver.gt(pkg.dependencies['nodebb-theme-cerulean'], require('./node_modules/nodebb-theme-cerulean/package.json').version)) { if (!semver.satisfies(require('./node_modules/nodebb-theme-cerulean/package.json').version, pkg.dependencies['nodebb-theme-cerulean'])) {
winston.error('nodebb-theme-cerulean is out of date - please run npm install.'); winston.error('nodebb-theme-cerulean is out of date - please run npm install.');
} }

Loading…
Cancel
Save