From 82bea5219faa50fdddc85e18071a5d17548acaa4 Mon Sep 17 00:00:00 2001 From: quobix Date: Mon, 9 Sep 2024 13:03:54 -0400 Subject: [PATCH] removed dead code --- utils/utils.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/utils/utils.go b/utils/utils.go index 01cc8078..52170eb2 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -751,14 +751,10 @@ func ConvertComponentIdIntoFriendlyPathSearch(id string) (string, string) { if intVal <= 99 { if len(cleaned) > 0 { appendSegment(&sb, segs, cleaned, i, false) - } else { - cleaned = append(cleaned, segs[i]) } } else { if len(cleaned) > 0 { appendSegment(&sb, segs, cleaned, i, true) - } else { - cleaned = append(cleaned, segs[i]) } } continue