alexkappa/mustache

View on GitHub
parse.go

Summary

Maintainability
A
35 mins
Test Coverage

Method parser.parseSection has 5 return statements (exceeds 4 allowed).
Open

func (p *parser) parseSection(inverse bool) (node, error) {
    t := p.read()
    if t.typ != tokenIdentifier {
        return nil, p.errorf(t, "unexpected token %s", t)
    }
Severity: Major
Found in parse.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status