feathersjs/feathers-hooks-common

View on GitHub
src/hooks/alter-items.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function alterItems has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function alterItems<T = any, H extends HookContext = HookContext>(
  cb: (record: T, context: H) => any,
) {
  if (!cb) {
    cb = () => {};
Severity: Minor
Found in src/hooks/alter-items.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status