mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 11:35:55 +01:00
missing return
This commit is contained in:
@@ -729,7 +729,7 @@ var fs = require('fs'),
|
||||
|
||||
Plugins.isActive(packageInfo.name, function(err, active) {
|
||||
if (err) {
|
||||
next(new Error('no-active-state'));
|
||||
return next(new Error('no-active-state'));
|
||||
}
|
||||
|
||||
delete pluginInfo.hooks;
|
||||
|
||||
Reference in New Issue
Block a user