mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
./nodebb reset theme - singular imo
This commit is contained in:
4
app.js
4
app.js
@@ -269,7 +269,7 @@ function reset() {
|
|||||||
process.exit();
|
process.exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nconf.get('themes')) {
|
if (nconf.get('theme')) {
|
||||||
resetThemes();
|
resetThemes();
|
||||||
} else if (nconf.get('plugin')) {
|
} else if (nconf.get('plugin')) {
|
||||||
resetPlugin(nconf.get('plugin'));
|
resetPlugin(nconf.get('plugin'));
|
||||||
@@ -290,7 +290,7 @@ function reset() {
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
winston.warn('[reset] Nothing reset.');
|
winston.warn('[reset] Nothing reset.');
|
||||||
winston.info('Use ./nodebb reset {themes|plugins|widgets|settings|all}');
|
winston.info('Use ./nodebb reset {theme|plugins|widgets|settings|all}');
|
||||||
winston.info(' or');
|
winston.info(' or');
|
||||||
winston.info('Use ./nodebb reset plugin="nodebb-plugin-pluginName"');
|
winston.info('Use ./nodebb reset plugin="nodebb-plugin-pluginName"');
|
||||||
process.exit();
|
process.exit();
|
||||||
|
|||||||
Reference in New Issue
Block a user