feathersjs/feathers-hooks-common

View on GitHub
src/utils/combine.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function combine has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function combine<H extends HookContext = HookContext>(...serviceHooks: HookFunction<H>[]) {
  // if (serviceHooks.length && Array.isArray(serviceHooks[0])) {
  //   serviceHooks = serviceHooks[0];
  // }

Severity: Minor
Found in src/utils/combine.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status