onebeyond/error-handler-module

View on GitHub
index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function tagError has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const tagError = (err, newTypes = {}) => {
  let extendedTypes = {};
  if (newTypes) {
    debug('Extending tag with your new types');
    extendedTypes = Object.keys(newTypes)
Severity: Minor
Found in index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status