1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +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

@@ -73,7 +73,6 @@ function replyInOrder (self, callback, err, res, queue) {
callback(err, res)
})
} else {
// TODO: Change this to chain promises instead
const tmp = commandObj.callback
commandObj.callback = function (e, r) {
tmp(e, r)