mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
chore(deps): update dependency eslint-config-airbnb-base to v13 (#6599)
* chore(deps): update dependency eslint-config-airbnb-base to v13 * chore: #6599, linting 😬
This commit is contained in:
committed by
Julian Lam
parent
eb0a322d7f
commit
64b9dabff8
@@ -34,10 +34,10 @@ module.exports = function (Plugins) {
|
||||
var method;
|
||||
|
||||
if (Object.keys(Plugins.deprecatedHooks).includes(data.hook)) {
|
||||
winston.warn('[plugins/' + id + '] Hook `' + data.hook + '` is deprecated, ' +
|
||||
(Plugins.deprecatedHooks[data.hook] ?
|
||||
'please use `' + Plugins.deprecatedHooks[data.hook] + '` instead.' :
|
||||
'there is no alternative.'
|
||||
winston.warn('[plugins/' + id + '] Hook `' + data.hook + '` is deprecated, '
|
||||
+ (Plugins.deprecatedHooks[data.hook]
|
||||
? 'please use `' + Plugins.deprecatedHooks[data.hook] + '` instead.'
|
||||
: 'there is no alternative.'
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user