Skip to content

Commit

Permalink
fix: Add missing space in "disabled by config" warning (#2310)
Browse files Browse the repository at this point in the history
Before this change, the message said "However, as this checkis disabled by default".
  • Loading branch information
kirillDanshin authored Nov 2, 2021
1 parent a2b2968 commit 8cb9c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/linters_settings_gocritic.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func (s *GocriticSettings) InferEnabledChecks(log logutils.Log) {
enabledChecksSet := stringsSliceToSet(enabledChecks)
for _, disabledCheck := range s.DisabledChecks {
if !enabledChecksSet[disabledCheck] {
log.Warnf("Gocritic check %q was explicitly disabled via config. However, as this check"+
log.Warnf("Gocritic check %q was explicitly disabled via config. However, as this check "+
"is disabled by default, there is no need to explicitly disable it via config.", disabledCheck)
continue
}
Expand Down

0 comments on commit 8cb9c76

Please sign in to comment.