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 f384d1c commit aea03d6Copy full SHA for aea03d6
index.js
@@ -672,7 +672,7 @@ RedisClient.prototype.return_reply = function (reply) {
672
673
if (command_obj && !command_obj.sub_command) {
674
if (typeof command_obj.callback === "function") {
675
- if (this.options.detect_buffers && command_obj.buffer_args === false) {
+ if (this.options.detect_buffers && command_obj.buffer_args === false && 'exec' !== command_obj.command.toLowerCase()) {
676
// If detect_buffers option was specified, then the reply from the parser will be Buffers.
677
// If this command did not use Buffer arguments, then convert the reply to Strings here.
678
reply = reply_to_strings(reply);
0 commit comments