1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

Fix typos / comments

This commit is contained in:
Ruben Bridgewater
2016-04-13 04:29:02 +02:00
parent cd58e1fd89
commit 5d12659583
6 changed files with 15 additions and 14 deletions

View File

@@ -39,7 +39,7 @@ RedisClient.prototype.send_command = RedisClient.prototype.sendCommand = functio
return this.internal_send_command(command, args, callback);
}
if (typeof callback === 'function') {
args = args.concat([callback]);
args = args.concat([callback]); // Prevent manipulating the input array
}
return this[command].apply(this, args);
};