captaindash/node-mention-api

View on GitHub
lib/RequestFactory.js

Summary

Maintainability
A
1 hr
Test Coverage

Function _decoreWithRequestPaths has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function _decoreWithRequestPaths(context, paths) {

  paths.forEach(function(path) {
    if (['post', 'get', 'put', 'delete'].indexOf(path) > -1) {

Severity: Minor
Found in lib/RequestFactory.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status