johnsonjh/gfpsgo

View on GitHub
internal/dev/tty.go

Summary

Maintainability
A
40 mins
Test Coverage

Function TTYs has 6 return statements (exceeds 4 allowed).
Open

func TTYs() (*[]TTY, error) {
    devDir, err := os.Open("/dev/")
    if err != nil {
        return nil, err
    }
Severity: Major
Found in internal/dev/tty.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status