gerard2p/koaton-cli

View on GitHub
src/support/Server.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function constructor has 64 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    constructor () {
        this.port = process.env.port;
        this.env = process.env.NODE_ENV;
        if (!fs.existsSync(ProyPath('.koaton'))) {
            fs.writeFileSync(ProyPath('.koaton'), JSON.stringify({
Severity: Major
Found in src/support/Server.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status