feat: replace gomnd by mnd ()

This commit is contained in:
Ludovic Fernandez 2024-03-28 21:23:44 +01:00 committed by GitHub
parent a7868b3e84
commit 288c847019
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 167 additions and 135 deletions
pkg/commands

View file

@ -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
}