Skip to content

Commit

Permalink
style: format code with Gofumpt and Prettier
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in b81c776 according to the output
from Gofumpt and Prettier.

Details: #2579
  • Loading branch information
deepsource-autofix[bot] authored Aug 8, 2024
1 parent b81c776 commit 3a026c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/index/job/correction/service/corrector.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func (c *correct) Start(ctx context.Context) (err error) {
}
counts := detail.GetCounts()
agents := make([]string, 0, len(counts))
for agent:= range counts {
for agent := range counts {

Check warning on line 140 in pkg/index/job/correction/service/corrector.go

View check run for this annotation

Codecov / codecov/patch

pkg/index/job/correction/service/corrector.go#L139-L140

Added lines #L139 - L140 were not covered by tests
agents = append(agents, agent)
}
slices.SortFunc(agents, func(left, right string) int {
Expand Down

0 comments on commit 3a026c2

Please sign in to comment.