You've already forked node-redis
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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user