You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
Fix for [GH-165] - createClient to properly assign parser_module
This commit is contained in:
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