lint: fix linting issues

This commit is contained in:
Romain Bertrand 2025-12-08 10:00:50 +01:00
parent 36891e06f4
commit 1d94431825
4 changed files with 12 additions and 14 deletions

View file

@ -124,13 +124,13 @@ func runIssueList(cmd *cobra.Command, args []string) error {
}
w := tabwriter.NewWriter(os.Stdout, 0, 0, 2, ' ', 0)
fmt.Fprintf(w, "NUMBER\tTITLE\tSTATE\n")
_, _ = fmt.Fprintf(w, "NUMBER\tTITLE\tSTATE\n")
for _, issue := range issues {
if issue.PullRequest == nil {
fmt.Fprintf(w, "#%d\t%s\t%s\n", issue.Index, issue.Title, issue.State)
_, _ = fmt.Fprintf(w, "#%d\t%s\t%s\n", issue.Index, issue.Title, issue.State)
}
}
w.Flush()
_ = w.Flush()
return nil
}