synapsecns/sanguine

View on GitHub
contrib/git-changes-action/main.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func outputModuleChanges(workingDirectory string, ct tree.Tree, includeDeps bool, dependencyLevelResolution string) (changedJSON string, unchangedJSON string, allModulesJSON string, err error) {
    var modules map[string]bool

    if dependencyLevelResolution == "packages" {
        modules, err = packagedetector.DetectChangedModules(workingDirectory, ct, includeDeps)
Severity: Major
Found in contrib/git-changes-action/main.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status