1set/starlet

View on GitHub
lib/path/path.go

Summary

Maintainability
A
1 hr
Test Coverage

Function listDirContents has 12 return statements (exceeds 4 allowed).
Open

func listDirContents(thread *starlark.Thread, b *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error) {
    var (
        path       string
        recursive  bool
        filterFunc = tps.NullableCallable{}
Severity: Major
Found in lib/path/path.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status