mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-04 18:38:45 -04:00
feat: replace gomnd by mnd (#4572)
This commit is contained in:
parent
a7868b3e84
commit
288c847019
12 changed files with 167 additions and 135 deletions
pkg/commands
|
@ -408,7 +408,7 @@ func (c *runCommand) setExitCodeIfIssuesFound(issues []result.Issue) {
|
|||
}
|
||||
|
||||
func (c *runCommand) printDeprecatedLinterMessages(enabledLinters map[string]*linter.Config) {
|
||||
if c.cfg.InternalCmdTest {
|
||||
if c.cfg.InternalCmdTest || os.Getenv(logutils.EnvTestRun) == "1" {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue