You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Remove deprecated parser option
This commit is contained in:
committed by
Ruben Bridgewater
parent
98527e0fc5
commit
78187142cb
@@ -16,7 +16,7 @@ var config = {
|
||||
IPv4: '127.0.0.1',
|
||||
IPv6: '::1'
|
||||
},
|
||||
configureClient: function (parser, ip, opts) {
|
||||
configureClient: function (ip, opts) {
|
||||
var args = [];
|
||||
// Do not manipulate the opts => copy them each time
|
||||
opts = opts ? JSON.parse(JSON.stringify(opts)) : {};
|
||||
@@ -29,7 +29,6 @@ var config = {
|
||||
opts.family = ip;
|
||||
}
|
||||
|
||||
opts.parser = parser;
|
||||
args.push(opts);
|
||||
|
||||
return args;
|
||||
|
Reference in New Issue
Block a user