mirror of
https://gitea.com/gitea/tea.git
synced 2025-09-03 02:18:30 +02:00
Bump Table Dep (#757)
Reviewed-on: https://gitea.com/gitea/tea/pulls/757 Co-authored-by: techknowlogick <techknowlogick@gitea.com> Co-committed-by: techknowlogick <techknowlogick@gitea.com>
This commit is contained in:

committed by
techknowlogick

parent
c5f398dcd2
commit
d4887f6b9d
@ -106,7 +106,7 @@ func (t *table) fprint(f io.Writer, output string) {
|
||||
func outputTable(f io.Writer, headers []string, values [][]string) {
|
||||
table := tablewriter.NewWriter(f)
|
||||
if len(headers) > 0 {
|
||||
table.SetHeader(headers)
|
||||
table.Header(headers)
|
||||
}
|
||||
for _, value := range values {
|
||||
table.Append(value)
|
||||
|
Reference in New Issue
Block a user