File: tablewriter-api-update.patch

package info (click to toggle)
tea-cli 0.9.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,364 kB
  • sloc: makefile: 120; sh: 17
file content (20 lines) | stat: -rw-r--r-- 639 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From 62f226495bd3f0e56155e9f50ce4d500602ac6b2 Mon Sep 17 00:00:00 2001
From: techknowlogick <techknowlogick@gitea.com>
Date: Tue, 13 May 2025 17:01:50 -0400
Subject: [PATCH] bump table dep

---

diff --git a/modules/print/table.go b/modules/print/table.go
index 26f49f0..d771da8 100644
--- a/modules/print/table.go
+++ b/modules/print/table.go
@@ -92,7 +92,7 @@ func (t *table) print(output string) {
 func outputtable(headers []string, values [][]string) {
 	table := tablewriter.NewWriter(os.Stdout)
 	if len(headers) > 0 {
-		table.SetHeader(headers)
+		table.Header(headers)
 	}
 	for _, value := range values {
 		table.Append(value)