Merge pull request #11243 from andriyDev/RawMode
Fix out stylized function formatting with an empty map instead of nothing.pull/11217/head
commit
4ba1901a7e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue