Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanSpeakEasy committed Feb 13, 2024
1 parent dd47a15 commit 47cf242
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/template/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ func (t *Templator) execTemplate(name string, tmplContent string, data any, repl
tmp, err := template.New(name).Funcs(t.TmplFuncs).Parse(tmplContent)
if err != nil {
if t.Debug {
//nolint:forbidigo
fmt.Println(tmplContent)
}
return "", fmt.Errorf("failed to parse template: %w", err)
Expand Down

0 comments on commit 47cf242

Please sign in to comment.