asteris-llc/converge

View on GitHub
helpers/logging/formatter.go

Summary

Maintainability
A
35 mins
Test Coverage

Method Formatter.init has 5 return statements (exceeds 4 allowed).
Open

func (f *Formatter) init() {
    isColorTerminal := logrus.IsTerminal(os.Stderr) && (runtime.GOOS != "windows")
    f.fancy = (!f.DisableColors && isColorTerminal)

    f.replacer = strings.NewReplacer(
Severity: Major
Found in helpers/logging/formatter.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status