Add gosimple linter (#9590)

This commit is contained in:
Kris Hicks
2020-12-09 11:05:18 -08:00
committed by GitHub
parent 8333ab9f80
commit 85ed8ddd4f
77 changed files with 111 additions and 186 deletions

View File

@@ -172,7 +172,7 @@ func (c *Run) Run(args []string) int {
}
if len(failedEnvs) > 0 {
c.Ui.Error(fmt.Sprintf("The following environments ***FAILED***"))
c.Ui.Error("The following environments ***FAILED***")
for name, report := range failedEnvs {
c.Ui.Error(fmt.Sprintf(" [%s]: %d out of %d suite failures",
name, report.TotalFailedSuites, report.TotalSuites))