Skip to content

Commit

Permalink
s/&&/||
Browse files Browse the repository at this point in the history
  • Loading branch information
spring1843 committed Jan 14, 2024
1 parent 8390212 commit 8594e62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit 8594e62

Please sign in to comment.