1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-17 19:41:06 +03:00

chore: use es6 for multi

This commit is contained in:
Ruben Bridgewater
2017-05-26 12:01:19 +02:00
parent 54671f6c52
commit cd8f2d27c1
6 changed files with 147 additions and 88 deletions

View File

@@ -40,7 +40,7 @@ commands.list.forEach((command) => {
for (var i = 0; i < len; i += 1) {
arr[i] = arguments[i]
}
this.queue.push(new Command(command, arr))
this._queue.push(new Command(command, arr))
return this
}
if (multiProto[command] !== commandName) {