You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
fix(client): bring disableClientInfo option back (#2959)
* fix(client): bring disableClientInfo option back It disappeared in v5 fixes #2958
This commit is contained in:
committed by
GitHub
parent
f3d1d3352e
commit
4a5f879ec9
@@ -70,7 +70,11 @@ export class ErrorReply extends Error {
|
||||
}
|
||||
}
|
||||
|
||||
export class SimpleError extends ErrorReply {}
|
||||
export class SimpleError extends ErrorReply {
|
||||
isUnknownSubcommand(): boolean {
|
||||
return this.message.toLowerCase().indexOf('err unknown subcommand') !== -1;
|
||||
}
|
||||
}
|
||||
|
||||
export class BlobError extends ErrorReply {}
|
||||
|
||||
|
Reference in New Issue
Block a user