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