Showing
1 changed file
with
1 additions
and
1 deletions
@@ -12,7 +12,7 @@ try { | @@ -12,7 +12,7 @@ try { | ||
12 | bluebird.promisifyAll(redis.Multi.prototype); | 12 | bluebird.promisifyAll(redis.Multi.prototype); |
13 | 13 | ||
14 | client.all = args => { | 14 | client.all = args => { |
15 | - if (!client.connected) { | 15 | + if (!client.ready) { |
16 | if (Array.isArray(args)) { | 16 | if (Array.isArray(args)) { |
17 | return Promise.resolve(_.fill(args, false)); | 17 | return Promise.resolve(_.fill(args, false)); |
18 | } else { | 18 | } else { |
-
Please register or login to post a comment