fix: Add missing space in "disabled by config" warning (#2310)
Before this change, the message said "However, as this checkis disabled by default".
This commit is contained in:
parent
a2b2968b12
commit
8cb9c769ff
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user