Skip to content

Commit

Permalink
fix debug output (#2531)
Browse files Browse the repository at this point in the history
  • Loading branch information
peakle committed Jan 31, 2022
1 parent a8b4bda commit 3d733a2
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 3d733a2

Please sign in to comment.