Permalink
Browse files

Update node-redis

  • Loading branch information...
1 parent 6048287 commit f46a239facb4a8df180a0bb005b99065bbedca00 @tim-smart tim-smart committed Jan 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 deps/node-redis/index.js
View
@@ -291,7 +291,7 @@ exports.commands.forEach(function (command) {
RedisClient.prototype[command.toLowerCase()] = function (array, fn) {
// An array of args.
// Assume we only have two args.
- if (array instanceof Array) {
+ if (Array.isArray(array)) {
return this.sendCommand(command, array, fn);
}

0 comments on commit f46a239

Please sign in to comment.