Skip to content

Commit

Permalink
fix: conditional anime is adult function
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucca Pessoa committed Jan 3, 2022
1 parent fd53a20 commit 919fcfe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/helpers/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
}

0 comments on commit 919fcfe

Please sign in to comment.