do InfoF is user specified JSON
parent
4d3f11bfb0
commit
07e41b3dcf
|
@ -95,10 +95,7 @@ func Step(st style.Enum, format string, a ...V) {
|
|||
|
||||
// Styled writes a stylized and templated message to stdout
|
||||
func Styled(st style.Enum, format string, a ...V) {
|
||||
if JSON {
|
||||
return
|
||||
}
|
||||
if st == style.Option {
|
||||
if JSON || st == style.Option {
|
||||
Infof(format, a...)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue