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:
techknowlogick
2025-05-13 21:03:46 +00:00
committed by techknowlogick
parent c5f398dcd2
commit d4887f6b9d
3 changed files with 18 additions and 60 deletions

View File

@ -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)