remove empty line

This commit is contained in:
Josh Kraft 2023-04-26 19:55:27 -06:00
parent d82c65ac2f
commit 43d5345b8b

View file

@ -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