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