Skip to content

Commit

Permalink
remove debug println
Browse files Browse the repository at this point in the history
  • Loading branch information
a-h committed Dec 27, 2024
1 parent 424e80f commit 574501d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/templ/generatecmd/eventhandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,6 @@ func (h *FSEventHandler) generate(ctx context.Context, fileName string) (updated
formattedGoCode, err := format.Source(b.Bytes())
if err != nil {
err = remapErrorList(err, generatorOutput.SourceMap, fileName)
if fileName == "/Users/adrian/github.com/a-h/templ/generator/test-whitespace-around-go-keywords/template.templ" {
fmt.Println(string(b.Bytes()))
}
return false, false, false, nil, fmt.Errorf("%s source formatting error %w", fileName, err)
}

Expand Down

0 comments on commit 574501d

Please sign in to comment.