internal/tui: fix "unused-receiver" linting

internal/tui/colors.go:27:7: unused-receiver: method receiver 'a' is not referenced in method's body, consider removing or renaming it as _ (revive)
    func (a noColor) Apply(s string) string {
          ^
    internal/tui/colors.go:31:7: unused-receiver: method receiver 'a' is not referenced in method's body, consider removing or renaming it as _ (revive)
    func (a noColor) String() string {
          ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2025-02-17 13:26:39 +01:00
parent 20c15cee99
commit 88b2e78e02
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C

View File

@ -24,10 +24,10 @@ func (a noColor) With(_ ...aec.ANSI) aec.ANSI {
return a
}
func (a noColor) Apply(s string) string {
func (noColor) Apply(s string) string {
return s
}
func (a noColor) String() string {
func (noColor) String() string {
return ""
}