Fix `out` stylized function formatting with an empty map instead of nothing.

pull/11243/head
Andriy Dzikh 2021-04-30 14:13:44 -07:00
parent 6f388085c5
commit 4a5642e738
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ func applyStyle(st style.Enum, useColor bool, format string) (string, bool) {
func stylized(st style.Enum, useColor bool, format string, a ...V) (string, bool) {
var spinner bool
if a == nil {
a = []V{{}}
a = []V{}
}
format, spinner = applyStyle(st, useColor, format)
return Fmt(format, a...), spinner