mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
fix findAndModify
temp fix for connect-mongo create admin after categories
This commit is contained in:
@@ -468,8 +468,8 @@ install.setup = function (callback) {
|
||||
setupConfig,
|
||||
setupDefaultConfigs,
|
||||
enableDefaultTheme,
|
||||
createAdministrator,
|
||||
createCategories,
|
||||
createAdministrator,
|
||||
createMenuItems,
|
||||
createWelcomePost,
|
||||
enableDefaultPlugins,
|
||||
@@ -479,7 +479,7 @@ install.setup = function (callback) {
|
||||
}
|
||||
], function (err) {
|
||||
if (err) {
|
||||
winston.warn('NodeBB Setup Aborted. ' + err.message);
|
||||
winston.warn('NodeBB Setup Aborted.\n ' + err.stack);
|
||||
process.exit();
|
||||
} else {
|
||||
callback();
|
||||
|
||||
Reference in New Issue
Block a user