synapsecns/sanguine

View on GitHub
core/config/assets.go

Summary

Maintainability
A
35 mins
Test Coverage

Function GetLogoPath has 5 return statements (exceeds 4 allowed).
Open

func GetLogoPath() (_ string, err error) {
    configDir, err := GetConfigDir()
    if err != nil {
        return "", fmt.Errorf("could not get config dir: %w", err)
    }
Severity: Major
Found in core/config/assets.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status