You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Exchange queue with a better one
This commit is contained in:
@@ -25,11 +25,12 @@ function replyToStrings(reply) {
|
||||
}
|
||||
|
||||
if (Array.isArray(reply)) {
|
||||
var res = new Array(reply.length);
|
||||
for (i = 0; i < reply.length; i++) {
|
||||
// Recusivly call the function as slowlog returns deep nested replies
|
||||
reply[i] = replyToStrings(reply[i]);
|
||||
res[i] = replyToStrings(reply[i]);
|
||||
}
|
||||
return reply;
|
||||
return res;
|
||||
}
|
||||
|
||||
return reply;
|
||||
|
Reference in New Issue
Block a user