Skip to content

Commit fe29f4f

Browse files
committed
#RI-6514 - fix pr comments
1 parent 35de233 commit fe29f4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webviews/src/modules/keys-tree/utils/constructKeysToTree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export const constructKeysToTree = (props: Props): any[] => {
9090
delimiter,
9191
path,
9292
)
93-
node.keyCount = node.children.reduce((a: any, b:any) => a + (b.keyCount || 1), 0)
93+
node.keyCount = node.children.reduce((a: number, b: any) => a + (b.keyCount || 1), 0)
9494
node.keyApproximate = (node.keyCount / keys.length) * 100
9595
node.fullName = previousKey + name
9696
} else {

0 commit comments

Comments
 (0)