File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
redisinsight/ui/src/packages/redisearch/src/utils Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -85,14 +85,14 @@ const getChunkCountSearch = (command: string = '') => {
85
85
86
86
if ( getIsKeysOnly ( command ) ) count = onlyKeysChunkCount
87
87
88
- specialArgs . forEach ( ( arg ) => command . includes ( arg ) && ++ count )
88
+ specialArgs . forEach ( ( arg ) => command . toUpperCase ( ) . includes ( arg ) && ++ count )
89
89
90
90
return count
91
91
}
92
92
93
93
const getIsKeysOnly = ( command : string = '' ) => (
94
- command . toLowerCase ( ) . includes ( CommandArgument . NoContent . toLowerCase ( ) )
95
- || command . toLowerCase ( ) . includes ( `${ CommandArgument . Return . toLowerCase ( ) } 0` )
94
+ command . toUpperCase ( ) . includes ( CommandArgument . NoContent )
95
+ || command . toUpperCase ( ) . includes ( `${ CommandArgument . Return } 0` )
96
96
)
97
97
98
98
export {
You can’t perform that action at this time.
0 commit comments