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

removed console.log line

This commit is contained in:
Martín Ciparelli
2013-03-21 17:14:41 -03:00
parent 92b7b6dd6d
commit 859d2b1171

View File

@@ -627,7 +627,6 @@ RedisClient.prototype.return_reply = function (reply) {
} else {
this.pub_sub_mode = true;
}
console.log(command_obj);
// subscribe commands take an optional callback and also emit an event, but only the first response is included in the callback
// TODO - document this or fix it so it works in a more obvious way
if (command_obj && typeof command_obj.callback === "function") {
@@ -710,7 +709,7 @@ RedisClient.prototype.send_command = function (command, args, callback) {
return callback(err);
}
}
buffer_args = false;
for (i = 0, il = args.length, arg; i < il; i += 1) {
if (Buffer.isBuffer(args[i])) {