From 8594e62c76fffbaac1ffd07ef3023175002d186c Mon Sep 17 00:00:00 2001 From: Ryan Maleki Date: Sun, 14 Jan 2024 11:56:13 -0800 Subject: [PATCH] s/&&/|| --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 38c9ae2..246ccfb 100644 --- a/main.go +++ b/main.go @@ -6,7 +6,7 @@ func main() { dependencies := parseGoModDependencies(readGoMod()) foundCGo := false for _, dependency := range dependencies { - foundCGo = foundCGo && dependency.checkForCGo() + foundCGo = foundCGo || dependency.checkForCGo() } if !foundCGo { fmt.Println("No CGo dependencies found.")