1set/starlet

View on GitHub
cache.go

Summary

Maintainability
A
35 mins
Test Coverage

Method cache.doLoad has 5 return statements (exceeds 4 allowed).
Open

func (c *cache) doLoad(cc *cycleChecker, module string) (starlark.StringDict, error) {
    thread := &starlark.Thread{
        Print: func(_ *starlark.Thread, msg string) { fmt.Println(msg) },
        Load: func(_ *starlark.Thread, module string) (starlark.StringDict, error) {
            // Tunnel the cycle-checker state for this "thread of loading".
Severity: Major
Found in cache.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status