fix table bottom
This commit is contained in:
parent
999e80ae2f
commit
c7dc3d4402
@ -188,7 +188,7 @@ func (s *Service) UnmarshalJSON(data []byte) error {
|
|||||||
imageName = imageNameParts[0]
|
imageName = imageNameParts[0]
|
||||||
}
|
}
|
||||||
|
|
||||||
tag := "?"
|
tag := "..."
|
||||||
if len(imageNameParts) > 1 {
|
if len(imageNameParts) > 1 {
|
||||||
tag = imageNameParts[1]
|
tag = imageNameParts[1]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -339,7 +339,7 @@ func (t *Table) Render() {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
if idx+1 < len(t.rows) {
|
if idx < len(t.rows) {
|
||||||
if t.rows[idx].next != nil {
|
if t.rows[idx].next != nil {
|
||||||
table = append(table, strings.Join(lineParts, t.colSeparator))
|
table = append(table, strings.Join(lineParts, t.colSeparator))
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user