4minitz/4minitz

View on GitHub
imports/ldap/getLDAPUsers.js

Summary

Maintainability
A
1 hr
Test Coverage

Function _fetchLDAPUsers has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

let _fetchLDAPUsers = function (connection) {
    let client = connection.client,
        settings = connection.settings,
        base = settings.serverDn,
        searchDn = _.get(settings, 'propertyMap.username', 'cn'),
Severity: Minor
Found in imports/ldap/getLDAPUsers.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status