From a883e667efc8d0acc110cc721614792a283fb503 Mon Sep 17 00:00:00 2001 From: Dolev Hadar Date: Fri, 6 Dec 2024 17:32:13 +0200 Subject: [PATCH] chore: fix lint --- tree/renderer.go | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/tree/renderer.go b/tree/renderer.go index fb24dd1b..a6557677 100644 --- a/tree/renderer.go +++ b/tree/renderer.go @@ -105,13 +105,12 @@ func (r *renderer) render(node Node, root bool, prefix string) string { ) } - line := - lipgloss.JoinHorizontal( - lipgloss.Top, - multineLinePrefix, - nodePrefix, - item, - ) + line := lipgloss.JoinHorizontal( + lipgloss.Top, + multineLinePrefix, + nodePrefix, + item, + ) // If the line is shorter than the desired width, we pad it with spaces. if pad := r.width - lipgloss.Width(line); pad > 0 {