mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
ESlint no-useless-escape, no-else-return
This commit is contained in:
@@ -132,9 +132,8 @@ var opts = {
|
||||
*/
|
||||
if (meta.config.loggerStatus > 0) {
|
||||
return opts.express.ofn(req, res, next);
|
||||
} else {
|
||||
return next();
|
||||
}
|
||||
return next();
|
||||
};
|
||||
|
||||
Logger.prepare_io_string = function (_type, _uid, _args) {
|
||||
|
||||
Reference in New Issue
Block a user