diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-27 11:31:15 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-27 11:31:15 +0200 |
| commit | 56e9f980e52a53197ace71acdb277ba0e0368916 (patch) | |
| tree | e608e2ad400087278a8821559d15536e3e0407dd /internal/askcli/formatter.go | |
| parent | 60ad41f9b49b3e93bc513e0035323d1ed9e81faf (diff) | |
Explicitly ignore askcli write errors
Diffstat (limited to 'internal/askcli/formatter.go')
| -rw-r--r-- | internal/askcli/formatter.go | 4 |
1 files changed, 2 insertions, 2 deletions
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) } |
