You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Fix for [GH-165] - createClient to properly assign parser_module
Signed-off-by: David Trejo <david.daniel.trejo@gmail.com>
This commit is contained in:
committed by
David Trejo
parent
3b645c893d
commit
02b62e56bd
2
index.js
2
index.js
@@ -224,7 +224,7 @@ RedisClient.prototype.init_parser = function () {
|
|||||||
if (this.options.parser) {
|
if (this.options.parser) {
|
||||||
if (! parsers.some(function (parser) {
|
if (! parsers.some(function (parser) {
|
||||||
if (parser.name === self.options.parser) {
|
if (parser.name === self.options.parser) {
|
||||||
this.parser_module = parser;
|
self.parser_module = parser;
|
||||||
if (exports.debug_mode) {
|
if (exports.debug_mode) {
|
||||||
console.log("Using parser module: " + self.parser_module.name);
|
console.log("Using parser module: " + self.parser_module.name);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user