You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
changed style
This commit is contained in:
committed by
Ruben Bridgewater
parent
b3407ff8c7
commit
1293046bab
2
index.js
2
index.js
@@ -380,7 +380,7 @@ RedisClient.prototype.on_ready = function () {
|
||||
|
||||
RedisClient.prototype.on_info_cmd = function (err, res) {
|
||||
if (err) {
|
||||
/* ignore if the command info is not existing */
|
||||
/* istanbul ignore if: the command info is not existing on some servers for security reasons */
|
||||
if (err.message === "ERR unknown command 'info'") {
|
||||
this.server_info = {};
|
||||
this.on_ready();
|
||||
|
Reference in New Issue
Block a user