NodeRedis/node-redis

View on GitHub
packages/search/lib/commands/INFO.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function transformReply has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function transformReply(rawReply: InfoRawReply): InfoReply {
    return {
        indexName: rawReply[1],
        indexOptions: rawReply[3],
        indexDefinition: transformTuplesReply(rawReply[5]),
Severity: Minor
Found in packages/search/lib/commands/INFO.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status