From 919fcfe0182d22c5403f044d483f41a43c03c1f6 Mon Sep 17 00:00:00 2001 From: Lucca Pessoa Date: Mon, 3 Jan 2022 18:40:50 -0300 Subject: [PATCH] fix: conditional anime is adult function --- internal/helpers/helpers.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/helpers/helpers.go b/internal/helpers/helpers.go index c6ca3d2..de54163 100644 --- a/internal/helpers/helpers.go +++ b/internal/helpers/helpers.go @@ -85,7 +85,6 @@ func AnimeSimilarity(similarity string) string { func AnimeIsAdult(isAdult bool) string { if isAdult { return fmt.Sprint(color.GreenString("true")) - } else { - return fmt.Sprint(color.RedString("false")) } + return fmt.Sprint(color.RedString("false")) }