Skip to content

Commit 3cac4e6

Browse files
authored
RI-5978 jmespath in lower case (#4298)
1 parent 314636e commit 3cac4e6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

redisinsight/ui/src/utils/monaco/monacoUtils.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,9 +355,8 @@ export const getCommandsFromQuery = (query: string, commandsArray: string[] = []
355355
}
356356

357357
export const parseJMESPathFunctions = (functions: TJMESPathFunctions) => Object.entries(functions)
358-
.map(([labelInit, func]) => {
358+
.map(([label, func]) => {
359359
const { arguments: args } = func
360-
const label = labelInit.toUpperCase()
361360
const range = { startLineNumber: 0, endLineNumber: 0, startColumn: 0, endColumn: 0 }
362361
const detail = `${label}(${generateArgsNames('', args).join(', ')})`
363362
const argsNames = generateArgsNames('', args, false, true)

0 commit comments

Comments
 (0)