nconf-base/nconf-base

View on GitHub
lib/nconf-base.js

Summary

Maintainability
A
1 hr
Test Coverage

Function build_base has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function build_base() {
    nconf.env('__');       // environment variables
    var stage        = nconf.get('stage'),
        port         = (stage && stage != 'local') ?  80 : 3000,
        https_port   = (stage && stage != 'local') ? 443 : 3443,
Severity: Minor
Found in lib/nconf-base.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status