From 43d5345b8b6bb4827ca18bbcdfff2a4b23239c84 Mon Sep 17 00:00:00 2001 From: Josh Kraft Date: Wed, 26 Apr 2023 19:55:27 -0600 Subject: [PATCH] remove empty line --- pkg/cmd/search/code/code.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/cmd/search/code/code.go b/pkg/cmd/search/code/code.go index 5aa15825e..7dad2b673 100644 --- a/pkg/cmd/search/code/code.go +++ b/pkg/cmd/search/code/code.go @@ -153,7 +153,6 @@ func displayResults(io *iostreams.IOStreams, results search.CodeResult, limit in row := 0 for _, textMatch := range code.TextMatches { out, shouldPrint := buildOutput(textMatch, cs) - for i, line := range strings.Split(out, "\n") { if !shouldPrint[i] { continue