Skip to content

Commit

Permalink
kyc/social: twitter: fix linter (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-dionysos authored Aug 22, 2024
1 parent 12268ec commit 9ecee90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kyc/social/internal/twitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ func compareLinkWithoutRootDomain(target, expectedURL string) bool {
for _, domain := range domains {
x := "https://" + domain
if strings.HasPrefix(target, x) {
target = strings.Replace(target, x, "", 1)
target = strings.Replace(target, x, "", 1) //nolint:revive // .
}
if strings.HasPrefix(expectedURL, x) {
expectedURL = strings.Replace(expectedURL, x, "", 1)
expectedURL = strings.Replace(expectedURL, x, "", 1) //nolint:revive // .
}
}

Expand Down

0 comments on commit 9ecee90

Please sign in to comment.