mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-28 17:46:16 +01:00
ESlint padded-blocks
This commit is contained in:
@@ -126,7 +126,6 @@ module.exports = function (Plugins) {
|
||||
return callback();
|
||||
}
|
||||
async.each(hookList, function (hookObj, next) {
|
||||
|
||||
if (typeof hookObj.method !== 'function') {
|
||||
if (global.env === 'development') {
|
||||
winston.warn('[plugins] Expected method for hook \'' + hook + '\' in plugin \'' + hookObj.id + '\' not found, skipping.');
|
||||
|
||||
Reference in New Issue
Block a user