We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d5129d5 + 1173509 commit 03e696bCopy full SHA for 03e696b
index.js
@@ -937,7 +937,7 @@ commands.forEach(function (fullCommand) {
937
var command = fullCommand.split(' ')[0];
938
939
RedisClient.prototype[command] = function (args, callback) {
940
- if (Array.isArray(args) && typeof callback === "function") {
+ if (Array.isArray(args)) {
941
return this.send_command(command, args, callback);
942
} else {
943
return this.send_command(command, to_array(arguments));
0 commit comments