synapsecns/sanguine

View on GitHub
contrib/git-changes-action/detector/module/detector.go

Summary

Maintainability
A
35 mins
Test Coverage

Function DetectChangedModules has 5 return statements (exceeds 4 allowed).
Open

func DetectChangedModules(repoPath string, ct tree.Tree, includeDeps bool) (modules map[string]bool, err error) {
    modules = make(map[string]bool)

    goWorkPath := path.Join(repoPath, "go.work")

Severity: Major
Found in contrib/git-changes-action/detector/module/detector.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status