Skip to content

Node.js based forum software built for the modern web

Fixed issue where -w and -a flags didn't work in NodeBB reset.

Julian Lam33a3a56fd7d5
diff --git a/src/reset.js b/src/reset.js
index ce1b585a01..eae981ba5f 100644
--- a/src/reset.js
+++ b/src/reset.js
@@ -123,7 +123,7 @@ function resetPlugins(callback) {
}
function resetWidgets(callback) {
- require('./src/widgets').reset(function(err) {
+ require('./widgets').reset(function(err) {
winston.info('[reset] All Widgets moved to Draft Zone');
if (typeof callback === 'function') {
callback(err);