Skip to content

Commit

Permalink
fix: format command should list success count, and respect spacing of…
Browse files Browse the repository at this point in the history
… text nodes
  • Loading branch information
a-h committed Oct 16, 2021
1 parent 65f6d07 commit 467f539
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/templ/fmtcmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ func Run(args []string) (err error) {
continue
}
fmt.Printf("%s complete in %v\n", r.FileName, r.Duration)
successCount++
}
fmt.Printf("Formatted %d templates with %d errors in %s\n", successCount+errorCount, errorCount, time.Now().Sub(start))
return
Expand Down

0 comments on commit 467f539

Please sign in to comment.