Skip to content

Commit

Permalink
fix debug output (golangci#2531)
Browse files Browse the repository at this point in the history
  • Loading branch information
peakle authored and SeigeC committed Apr 4, 2023
1 parent 5d5808c commit f1c3b34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/config/linters_settings_gocritic.go
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,9 @@ func filterByDisableTags(enabledChecks, disableTags []string, log logutils.Log)
if len(hitTags) != 0 {
delete(enabledChecksSet, enabledCheck)
}
debugChecksListf(enabledChecks, "Disabled by config tags %s", sprintStrings(disableTags))
}
debugChecksListf(enabledChecks, "Disabled by config tags %s", sprintStrings(disableTags))

enabledChecks = nil
for enabledCheck := range enabledChecksSet {
enabledChecks = append(enabledChecks, enabledCheck)
Expand Down

0 comments on commit f1c3b34

Please sign in to comment.