Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolev Hadar committed Dec 6, 2024
1 parent f989fa1 commit a883e66
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions tree/renderer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a883e66

Please sign in to comment.