Skip to content

Commit

Permalink
Update node-redis
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart committed Jan 28, 2011
1 parent 6048287 commit f46a239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/node-redis/index.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ exports.commands.forEach(function (command) {
RedisClient.prototype[command.toLowerCase()] = function (array, fn) { RedisClient.prototype[command.toLowerCase()] = function (array, fn) {
// An array of args. // An array of args.
// Assume we only have two args. // Assume we only have two args.
if (array instanceof Array) { if (Array.isArray(array)) {
return this.sendCommand(command, array, fn); return this.sendCommand(command, array, fn);
} }


Expand Down

0 comments on commit f46a239

Please sign in to comment.