Skip to content

Commit 9069b4c

Browse files
Remove unnecessary passing of the logger
Signed-off-by: Chris Cummer <[email protected]>
1 parent 41f9662 commit 9069b4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

til.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ func buildTagPages(pages []*Page) *TagMap {
438438
for _, tagName := range tagMap.SortedTagNames() {
439439
wGroup.Add(1)
440440

441-
go func(tagName string, ll *log.Logger) {
441+
go func(tagName string) {
442442
defer wGroup.Done()
443443

444444
content := fmt.Sprintf("## %s\n\n", tagName)
@@ -469,7 +469,7 @@ func buildTagPages(pages []*Page) *TagMap {
469469
}
470470

471471
Progress(filePath)
472-
}(tagName, ll)
472+
}(tagName)
473473
}
474474

475475
wGroup.Wait()

0 commit comments

Comments
 (0)