aboutsummaryrefslogtreecommitdiff
path: root/internal/validate/checks.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-14 03:05:42 -0400
committerhistoria <[not public]>2026-07-14 03:05:42 -0400
commit430c81bd2056769e1326df9d1dff983afe7f33df (patch)
tree83b7a7695c60519023b7634a3f552f66b34f7dbf /internal/validate/checks.go
parentd72957499f1e25741b8f7a91746fbe132fa68161 (diff)
downloadthehouseoficarus-430c81bd2056769e1326df9d1dff983afe7f33df.tar.gz
fix(admin): tech tab loading yaml and css
Diffstat (limited to 'internal/validate/checks.go')
-rw-r--r--internal/validate/checks.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/internal/validate/checks.go b/internal/validate/checks.go
index 7ac6fa1..527b558 100644
--- a/internal/validate/checks.go
+++ b/internal/validate/checks.go
@@ -1068,13 +1068,6 @@ func validateTechs(s Source) []Issue {
Message: fmt.Sprintf("Tech %q: has no name", def.ID),
})
}
- if def.Category != "" && !knownTechCategories[def.Category] {
- issues = append(issues, Issue{
- Level: "WARN",
- Type: "reference",
- Message: fmt.Sprintf("Tech %q: unknown category %q", def.ID, def.Category),
- })
- }
if def.DrainRate < 0 {
issues = append(issues, Issue{
Level: "ERROR",