mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-18 21:11:19 +02:00
all: Run modernize -fix ./...
This commit is contained in:
@@ -311,7 +311,7 @@ func (h *HugoSites) NumLogErrors() int {
|
||||
|
||||
func (h *HugoSites) PrintProcessingStats(w io.Writer) {
|
||||
stats := make([]*helpers.ProcessingStats, len(h.Sites))
|
||||
for i := 0; i < len(h.Sites); i++ {
|
||||
for i := range h.Sites {
|
||||
stats[i] = h.Sites[i].PathSpec.ProcessingStats
|
||||
}
|
||||
helpers.ProcessingStatsTable(w, stats...)
|
||||
|
Reference in New Issue
Block a user