Skip to content

Commit 8cb9c76

Browse files
fix: Add missing space in "disabled by config" warning (#2310)
Before this change, the message said "However, as this checkis disabled by default".
1 parent a2b2968 commit 8cb9c76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/config/linters_settings_gocritic.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ func (s *GocriticSettings) InferEnabledChecks(log logutils.Log) {
156156
enabledChecksSet := stringsSliceToSet(enabledChecks)
157157
for _, disabledCheck := range s.DisabledChecks {
158158
if !enabledChecksSet[disabledCheck] {
159-
log.Warnf("Gocritic check %q was explicitly disabled via config. However, as this check"+
159+
log.Warnf("Gocritic check %q was explicitly disabled via config. However, as this check "+
160160
"is disabled by default, there is no need to explicitly disable it via config.", disabledCheck)
161161
continue
162162
}

0 commit comments

Comments
 (0)