getlackey/lackey-cms

View on GitHub
lib/datasources/index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function _connectPostgres has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _connectPostgres(connectionName, config, drop) {
        let self = this;
        return new Promise((resolve, reject) => {
                let client = knex({
                    client: 'pg',
Severity: Minor
Found in lib/datasources/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status