1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

Support null values in arrays in reply_to_strings()

This commit is contained in:
Joffrey F
2012-12-12 00:22:41 -08:00
committed by Bryce Baril
parent a5dc9898bb
commit 229be2068c

View File

@@ -551,7 +551,7 @@ function reply_to_strings(reply) {
if (Array.isArray(reply)) {
for (i = 0; i < reply.length; i++) {
reply[i] = reply[i].toString();
reply[i] = reply[i] ? reply[i].toString() : reply[i];
}
return reply;
}