refactor(terminal): inline the column fitting and shorten doc comments

Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
bircni committed 2026-10-12 20:49:33 +02:00
1 parent dbe2d376fe
commit 1917fc7471
6 files changed
+37 -59

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ func (t debugTransport) RoundTrip(req *http.Request) (*http.Response, error) {
}
// failureMessage returns the sanitized server message of a failed response and keeps its body
// readable, so --debug shows what the server said when tea explains the failure in its own words.
// readable for the caller.
func failureMessage(req *http.Request, resp *http.Response) string {
if resp.StatusCode < 400 {
return ""