Skip to content

Commit

Permalink
chore(lint): explicitly ignore Fprint return values
Browse files Browse the repository at this point in the history
  • Loading branch information
meowgorithm committed Jun 5, 2024
1 parent 9490412 commit 84ca92a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion man/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func (m Man) BeforeApply(ctx *kong.Context) error {
man := mangokong.NewManPage(1, ctx.Model)
man = man.WithSection("Copyright", "(C) 2022-2023 Charmbracelet, Inc.\n"+
"Released under MIT license.")
fmt.Fprint(ctx.Stdout, man.Build(roff.NewDocument()))
_, _ = fmt.Fprint(ctx.Stdout, man.Build(roff.NewDocument()))
ctx.Exit(0)
return nil
}

0 comments on commit 84ca92a

Please sign in to comment.