We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cc01f5 commit cc93e0bCopy full SHA for cc93e0b
index.js
@@ -645,7 +645,7 @@ RedisClient.prototype.return_reply = function (reply) {
645
}
646
} else if (this.pub_sub_mode || command_obj && command_obj.sub_command) {
647
if (Array.isArray(reply)) {
648
- if (!command_obj || command_obj.buffer_args === false) {
+ if ((!command_obj || command_obj.buffer_args === false) && !this.options.return_buffers) {
649
reply = utils.reply_to_strings(reply);
650
651
type = reply[0].toString();
0 commit comments