ESlint padded-blocks

This commit is contained in:
Peter Jaszkowiak
2017-02-18 02:32:24 -07:00
parent feb8405f95
commit 3b0dd2d1ef
226 changed files with 1 additions and 375 deletions

View File

@@ -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.');