You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
Update readme about lower case commands
This commit is contained in:
2
index.js
2
index.js
@@ -692,7 +692,7 @@ function Command(command, args, sub_command, buffer_args, callback) {
|
||||
}
|
||||
|
||||
RedisClient.prototype.send_command = function (command, args, callback) {
|
||||
var arg, command_obj, i, il, elem_count, buffer_args, stream = this.stream, command_str = "", buffered_writes = 0, last_arg_type, lcaseCommand;
|
||||
var arg, command_obj, i, il, elem_count, buffer_args, stream = this.stream, command_str = "", buffered_writes = 0, last_arg_type;
|
||||
|
||||
if (typeof command !== "string") {
|
||||
throw new Error("First argument to send_command must be the command name string, not " + typeof command);
|
||||
|
Reference in New Issue
Block a user