sjansen/messageformat

View on GitHub
internal/compiler/plural.go

Summary

Maintainability
A
35 mins
Test Coverage

Method pluralArg.format has 5 return statements (exceeds 4 allowed).
Open

func (p *pluralArg) format(b *strings.Builder, lang language.Tag, arguments map[string]interface{}) error {
    value, ok := arguments[p.ArgID]
    if !ok {
        return fmt.Errorf("missing arg: %q", p.ArgID)
    }
Severity: Major
Found in internal/compiler/plural.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status