synapsecns/sanguine

View on GitHub
core/config/configdir.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func GetConfigDir() (string, error) {
    configDir := configdir.New(VendorName, AppName+nameSuffix)
    file := configDir.QueryFolderContainsFile(readmeName)

    if file != nil {
Severity: Major
Found in core/config/configdir.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status