mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
ESlint no-plusplus
and no-empty, space-unary-ops
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
var ports = nconf.get('mongo:port').toString().split(',');
|
||||
var servers = [];
|
||||
|
||||
for (var i = 0; i < hosts.length; i++) {
|
||||
for (var i = 0; i < hosts.length; i += 1) {
|
||||
servers.push(hosts[i] + ':' + ports[i]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user