mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-08-27 00:36:59 +02:00
ESlint no-useless-return
This commit is contained in:
@@ -414,7 +414,7 @@ Controllers.handleURIErrors = function (err, req, res, next) {
|
||||
}
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
} else {
|
||||
next(err);
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ module.exports = function (User) {
|
||||
callback();
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user