Skip to content

Commit f97ec69

Browse files
authored
Merge pull request #5758 from vvoland/images-tree-elips-dot
cli/tree: Use single character triple dot
2 parents f4a68da + f906139 commit f97ec69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cli/command/image/tree.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ type imgColumn struct {
309309
func truncateRunes(s string, length int) string {
310310
runes := []rune(s)
311311
if len(runes) > length {
312-
return string(runes[:length-3]) + "..."
312+
return string(runes[:length-1]) + ""
313313
}
314314
return s
315315
}

0 commit comments

Comments
 (0)