denis-sokolov/portent

View on GitHub
src/pages/templates/index.js

Summary

Maintainability
A
1 hr
Test Coverage

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

module.exports = function(directory){
    var pagesDirectory = directory + '/pages';
    var dirs = [__dirname, pagesDirectory];
    var errorDirectory = path.join(directory, 'errors');

Severity: Minor
Found in src/pages/templates/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status