FormatListItemStderr formats a list item for stderr output.
(item string)
| 287 | |
| 288 | // FormatListItemStderr formats a list item for stderr output. |
| 289 | func FormatListItemStderr(item string) string { |
| 290 | return formatListItemWithTTY(item, isStderrTTY) |
| 291 | } |
| 292 | |
| 293 | func formatListItemWithTTY(item string, ttyCheck func() bool) string { |
| 294 | return applyStyleWithTTY(styles.ListItem, " • "+item, ttyCheck) |