Fix/dbml commented refs duplicate indexes #31

Merged
warkanum merged 3 commits from fix/dbml-commented-refs-duplicate-indexes into master 2026-09-23 16:48:55 +00:00
Showing only changes of commit 278d488363 - Show all commits
+1 -1
View File
@@ -573,7 +573,7 @@ func (j *Job) validate() []string {
e = append(e, "command \"templ\" does not support database output")
}
if j.Output != nil && j.Output.Format != "" {
if strings.ToLower(j.Output.Format) != "text" {
if !strings.EqualFold(j.Output.Format, "text") {
e = append(e, "command \"templ\" accepts only output.format: text")
}
}