getlackey/lackey-cms

View on GitHub
bin/lorem.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function file has 53 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function file(fileName, schema, dirname) {
    console.log(chalk.green('Generationg'), chalk.yellow(fileName));
    let number = +schema.$number || 10,
        results = [];

Severity: Major
Found in bin/lorem.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status