synapsecns/sanguine

View on GitHub
contrib/opbot/botmd/botmd.go

Summary

Maintainability
A
50 mins
Test Coverage

Method Bot.Start has 8 return statements (exceeds 4 allowed).
Open

func (b *Bot) Start(ctx context.Context) (err error) {
    if err := b.cfg.Validate(); err != nil {
        return fmt.Errorf("config validation failed: %w", err)
    }

Severity: Major
Found in contrib/opbot/botmd/botmd.go - About 50 mins to fix

    There are no issues that match your filters.

    Category
    Status