robojones/z1

View on GitHub
daemon/operation/restart.js

Summary

Maintainability
A
1 hr
Test Coverage
C
72%

Function restart has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

async function restart(config, command, connection) {
    // find old app
    const app = config.apps.find(app => app.name === command.app)

    if (!app) {
Severity: Minor
Found in daemon/operation/restart.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status