From 1b332338b713f3a7d278973bdac151e45de0d439 Mon Sep 17 00:00:00 2001 From: joanestebanr <129153821+joanestebanr@users.noreply.github.com> Date: Thu, 25 Jul 2024 16:40:10 +0200 Subject: [PATCH] PR comments --- translator/translator_impl.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/translator/translator_impl.go b/translator/translator_impl.go index 92326460..1e1a2a6a 100644 --- a/translator/translator_impl.go +++ b/translator/translator_impl.go @@ -14,10 +14,7 @@ func (t *TranslatorFullMatchRule) Match(contextName string, data string) bool { if t.ContextName != nil && *t.ContextName != contextName { return false } - if t.FullMatchString != data { - return false - } - return true + return t.FullMatchString == data } func (t *TranslatorFullMatchRule) Translate(contextName string, data string) string {