1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-04 15:02:09 +03:00

chore: remove let due to performance reasons

This commit is contained in:
Ruben Bridgewater
2017-05-26 12:45:34 +02:00
parent 065eebad9c
commit 6794478066
5 changed files with 18 additions and 18 deletions

View File

@@ -117,7 +117,7 @@ function infoCallback (self) {
const lines = res.toString().split('\r\n')
var line, parts, subParts
for (let i = 0; i < lines.length; i++) {
for (var i = 0; i < lines.length; i++) {
parts = lines[i].split(':')
if (parts[1]) {
if (parts[0].indexOf('db') === 0) {