mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
ESlint no-useless-escape, no-else-return
This commit is contained in:
@@ -207,10 +207,10 @@ module.exports = function (redisClient, module) {
|
||||
maxmax = '+';
|
||||
}
|
||||
|
||||
if (min !== minmin && !min.match(/^[\[\(]/)) {
|
||||
if (min !== minmin && !min.match(/^[[(]/)) {
|
||||
min = '[' + min;
|
||||
}
|
||||
if (max !== maxmax && !max.match(/^[\[\(]/)) {
|
||||
if (max !== maxmax && !max.match(/^[[(]/)) {
|
||||
max = '[' + max;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user