Pluralize problem

pull/3673/head
Thomas Stromberg 2019-02-13 21:35:42 -08:00
parent 08da5fe3b5
commit 496bbe00bb
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ func FindProblems(r cruntime.Manager, bs bootstrapper.Bootstrapper, runner boots
// OutputProblems outputs discovered problems.
func OutputProblems(problems map[string][]string, maxLines int) {
for name, lines := range problems {
console.OutStyle("failure", "Problem detected in %q", name)
console.OutStyle("failure", "Problems detected in %q:", name)
if len(lines) > maxLines {
lines = lines[len(lines)-maxLines:]
}