You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
Remove dead code
This commit is contained in:
@@ -290,10 +290,6 @@ ReplyParser.prototype._bytesRemaining = function () {
|
|||||||
return (this._buffer.length - this._offset) < 0 ? 0 : (this._buffer.length - this._offset);
|
return (this._buffer.length - this._offset) < 0 ? 0 : (this._buffer.length - this._offset);
|
||||||
};
|
};
|
||||||
|
|
||||||
ReplyParser.prototype.parser_error = function (message) {
|
|
||||||
this.emit("error", message);
|
|
||||||
};
|
|
||||||
|
|
||||||
ReplyParser.prototype.send_error = function (reply) {
|
ReplyParser.prototype.send_error = function (reply) {
|
||||||
this.emit("reply error", reply);
|
this.emit("reply error", reply);
|
||||||
};
|
};
|
||||||
|
@@ -55,7 +55,4 @@ Object.defineProperty(Queue.prototype, "length", {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
module.exports = Queue;
|
||||||
if (typeof module !== "undefined" && module.exports) {
|
|
||||||
module.exports = Queue;
|
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user