Skip to content

Commit 843ad7b

Browse files
committed
support to getting object options
1 parent 331e780 commit 843ad7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const redis = require('redis');
44
const commands = require('redis-commands').list;
55
const objectDecorator = require('./object-decorator');
66

7-
const AsyncRedis = function (...args) {
7+
const AsyncRedis = function (args) {
88
const client = Array.isArray(args) ? redis.createClient(...args) : redis.createClient(args);
99
return AsyncRedis.decorate(client);
1010
};

0 commit comments

Comments
 (0)