mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 20:45:58 +01:00
ESlint no-plusplus
and no-empty, space-unary-ops
This commit is contained in:
@@ -331,7 +331,7 @@ Messaging.hasPrivateChat = function (uid, withUid, callback) {
|
||||
roomId = roomIds[index];
|
||||
next(null, roomId);
|
||||
} else {
|
||||
++ index;
|
||||
index += 1;
|
||||
next();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user