Skip to content

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamerminsk authored Jan 15, 2024
1 parent 2838e94 commit 6c74f9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (
func GetPlayer(text string) string {
player := text
if strings.Contains(player, "[[") {

player = strings.Replace(player, "[[","", 1)
}
if strings.Contains(player, "]]") {

player = strings.Replace(player, "]]","", 1)
}

}

Check failure on line 19 in main.go

View workflow job for this annotation

GitHub Actions / build

missing return
Expand Down

0 comments on commit 6c74f9d

Please sign in to comment.