fix: Revert "fix: ignore go.mod by default"

This reverts commit 4eeb460bb7.

Original PR: #684

Original Issue: #683

This didn't cause `go.mod` to be ignoredinstead it caused it to not be
counted as go code.
However, `go.mod` and `go.work` are similar file types and both are more
of package specifications than lock files or other machine-only content.

See #1363
This commit is contained in:
Ed Page
2025-08-28 12:19:58 -05:00
parent a4c3e43aea
commit ed669e8d94
+1 -1
View File
@@ -102,7 +102,7 @@ pub(crate) const DEFAULT_TYPES: &[(&str, &[&str])] = &[
("fut", &["*.fut"]),
("gap", &["*.g", "*.gap", "*.gi", "*.gd", "*.tst"]),
("gn", &["*.gn", "*.gni"]),
("go", &["*.go", "go.work"]),
("go", &["*.go", "go.mod", "go.work"]),
("gprbuild", &["*.gpr"]),
("gradle", &[
"*.gradle", "*.gradle.kts", "gradle.properties", "gradle-wrapper.*",