Merge pull request #1257 from theon/fix-syntax-error

Fix syntax error
This commit is contained in:
Barış Soner Uşaklı
2014-03-21 20:51:38 -04:00

View File

@@ -290,14 +290,13 @@ var async = require('async'),
function (next) {
// Check if an administrator needs to be created
var Groups = require('./groups');
Groups.get('administrators', {}, function (err, groupObj) {
if (groupObj.memberCount > 0) {
winston.info('Administrator found, skipping Admin setup');
next();
} else {
install.createAdmin(next);
}
});
Groups.get('administrators', {}, function (err, groupObj) {
if (groupObj.memberCount > 0) {
winston.info('Administrator found, skipping Admin setup');
next();
} else {
install.createAdmin(next);
}
});
},
function (next) {