You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Fix typo
This commit is contained in:
2
index.js
2
index.js
@@ -172,7 +172,7 @@ function RedisClient (options, stream) {
|
|||||||
} else if ((event === 'message_buffer' || event === 'pmessage_buffer' || event === 'messageBuffer' || event === 'pmessageBuffer') && !this.buffers && !this.message_buffers) {
|
} else if ((event === 'message_buffer' || event === 'pmessage_buffer' || event === 'messageBuffer' || event === 'pmessageBuffer') && !this.buffers && !this.message_buffers) {
|
||||||
if (this.reply_parser.name !== 'javascript') {
|
if (this.reply_parser.name !== 'javascript') {
|
||||||
return this.warn(
|
return this.warn(
|
||||||
'You attached the ' + event + ' without the hiredis parser without the returnBuffers option set to true.\n' +
|
'You attached the "' + event + '" listener without the returnBuffers option set to true.\n' +
|
||||||
'Please use the JavaScript parser or set the returnBuffers option to true to return buffers.'
|
'Please use the JavaScript parser or set the returnBuffers option to true to return buffers.'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user