feathersjs/feathers-sendgrid

View on GitHub
src/hooks/normalize-email.js

Summary

Maintainability
A
1 hr
Test Coverage

Function normalizeEmail has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function normalizeEmail () {
  return function (hook) {
    debug(`Normalizing hook.data`, hook.data);

    let data = Object.assign({}, hook.data);
Severity: Minor
Found in src/hooks/normalize-email.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status