update banner to reflect the final agreed UI (#15192)

This commit is contained in:
Harshavardhana
2022-06-28 16:37:40 -07:00
committed by GitHub
parent 2070c215a2
commit 2f25639ea0
4 changed files with 28 additions and 9 deletions

View File

@@ -31,11 +31,11 @@ var (
return !color.NoColor
}
Bold = func() func(a ...interface{}) string {
Bold = func() func(format string, a ...interface{}) string {
if IsTerminal() {
return color.New(color.Bold).SprintFunc()
return color.New(color.Bold).SprintfFunc()
}
return fmt.Sprint
return fmt.Sprintf
}()
RedBold = func() func(format string, a ...interface{}) string {