From df53d836e5410af3cd34834c512a06ae60d9e2c4 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Sat, 18 Jan 2014 16:01:09 -0500 Subject: [PATCH] fixed dependency check for cerulean --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 3328d3ca1c..bd42c1158b 100644 --- a/app.js +++ b/app.js @@ -81,7 +81,7 @@ 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.'); }