Skip to content

Commit 764621f

Browse files
committed
#RI-3957 - fix tests
1 parent 0d898ad commit 764621f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redisinsight/ui/src/utils/redistack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const REDISTACK_MODULES: Array<string | Array<string>> = [
1111
]
1212

1313
const checkRediStackModules = (modules: any[]) => {
14-
if (!modules.length || modules.length !== REDISTACK_MODULES.length) return false
14+
if (!modules?.length || modules.length !== REDISTACK_MODULES.length) return false
1515

1616
return map(modules, 'name')
1717
.sort()

0 commit comments

Comments
 (0)