chore(colorjson): remove unused sprintfColor

This commit is contained in:
AJ ONeal 2025-10-03 00:03:25 -06:00
parent 045480f900
commit df73764148
No known key found for this signature in database

View File

@ -48,13 +48,6 @@ func NewFormatter() *Formatter {
}
}
func (f *Formatter) sprintfColor(c *color.Color, format string, args ...interface{}) string {
if f.DisabledColor || c == nil {
return fmt.Sprintf(format, args...)
}
return c.SprintfFunc()(format, args...)
}
func (f *Formatter) sprintColor(c *color.Color, s string) string {
if f.DisabledColor || c == nil {
return fmt.Sprint(s)