albanm/nsi-routes

View on GitHub
lib/wrap.js

Summary

Maintainability
A
1 hr
Test Coverage

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

module.exports = function wrap(route, name) {
    var that = this;
    var counter = 0;
    name = name || route.name || 'anonymous';
    return _.wrap(route, function(route, message, headers, callback) {
Severity: Minor
Found in lib/wrap.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status