From 9ecee90b67ec8f51d33ecf10b17fa20d4bdf93d4 Mon Sep 17 00:00:00 2001 From: Dionysos <75300347+ice-dionysos@users.noreply.github.com> Date: Thu, 22 Aug 2024 18:55:50 +0200 Subject: [PATCH] kyc/social: twitter: fix linter (#215) --- kyc/social/internal/twitter.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kyc/social/internal/twitter.go b/kyc/social/internal/twitter.go index a4f26edd..20ca86ec 100644 --- a/kyc/social/internal/twitter.go +++ b/kyc/social/internal/twitter.go @@ -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 // . } }