You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Bug fix for monitor mode. (forddg)
Also some whitespace fix for JSHint.
This commit is contained in:
2
index.js
2
index.js
@@ -392,7 +392,7 @@ RedisClient.prototype.return_reply = function (reply) {
|
||||
} else if (exports.debug_mode) {
|
||||
console.log("no callback for reply: " + (reply && reply.toString && reply.toString()));
|
||||
}
|
||||
} else if (this.subscriptions || command_obj.sub_command) {
|
||||
} else if (this.subscriptions || (command_obj && command_obj.sub_command)) {
|
||||
if (Array.isArray(reply)) {
|
||||
type = reply[0].toString();
|
||||
|
||||
|
Reference in New Issue
Block a user