bwinkers/activerules-middleware

View on GitHub
lib/ar-site.js

Summary

Maintainability
A
1 hr
Test Coverage

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

AR.prototype.getSiteByHost = function (hostname, options) {
    var configRoot = '';
    return new Promise(
        function (resolve, reject) {
            try {
Severity: Minor
Found in lib/ar-site.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status