From 56e9f980e52a53197ace71acdb277ba0e0368916 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 27 Mar 2026 11:31:15 +0200 Subject: Explicitly ignore askcli write errors --- internal/askcli/formatter.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/askcli/formatter.go') diff --git a/internal/askcli/formatter.go b/internal/askcli/formatter.go index 9dfaf4a..743637b 100644 --- a/internal/askcli/formatter.go +++ b/internal/askcli/formatter.go @@ -72,7 +72,7 @@ func writeTaskListHeader(b *strings.Builder, widths taskListWidths) { func writeTaskListSeparator(b *strings.Builder, widths taskListWidths) { total := widths.Urgency + widths.Priority + widths.ID + widths.Status + widths.Started + widths.Tags + widths.Description + 18 - io.WriteString(b, strings.Repeat("-", total)+"\n") + _, _ = io.WriteString(b, strings.Repeat("-", total)+"\n") } func writeTaskListRow(b *strings.Builder, widths taskListWidths, t TaskExport, aliases map[string]string) { @@ -152,7 +152,7 @@ func FormatTaskInfo(t TaskExport, alias string, dependencyAliases map[string]str fmt.Fprintf(&b, "Depends: %s\n", formatTaskDependencies(t.Depends, dependencyAliases)) } if len(t.Annotations) > 0 { - io.WriteString(&b, "Annotations:\n") + _, _ = io.WriteString(&b, "Annotations:\n") for _, a := range t.Annotations { fmt.Fprintf(&b, " - %s (added %s)\n", a.Description, a.Entry) } -- cgit v1.2.3