NateFerrero/amna

View on GitHub
src/lib/registerModules.js

Summary

Maintainability
A
2 hrs
Test Coverage

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

module.exports = function (amna, log) {

    amna.$MODULES_DIR = 'amna_modules';

    amna.$modules = [];
Severity: Minor
Found in src/lib/registerModules.js - About 1 hr to fix

    Function registerModules has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        return function registerModules(path, modules) {
    
            if (typeof path !== 'string') {
                modules = path;
                path = '';
    Severity: Minor
    Found in src/lib/registerModules.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status