bwinkers/activerules-middleware

View on GitHub

Showing 1 of 1 total issue

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
    Severity
    Category
    Status
    Source
    Language