FormatInfoMessageStderr formats an informational message for stderr output.
(message string)
| 174 | |
| 175 | // FormatInfoMessageStderr formats an informational message for stderr output. |
| 176 | func FormatInfoMessageStderr(message string) string { |
| 177 | return formatInfoMessageWithTTY(message, isStderrTTY) |
| 178 | } |
| 179 | |
| 180 | func formatInfoMessageWithTTY(message string, ttyCheck func() bool) string { |
| 181 | return applyStyleWithTTY(styles.Info, "i ", ttyCheck) + message |
no test coverage detected