contrib/git-changes-action/main.go
Function outputModuleChanges
has 5 return statements (exceeds 4 allowed). Open
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)