Skip to content

Commit 84ca92a

Browse files
committed
chore(lint): explicitly ignore Fprint return values
1 parent 9490412 commit 84ca92a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

man/command.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func (m Man) BeforeApply(ctx *kong.Context) error {
1818
man := mangokong.NewManPage(1, ctx.Model)
1919
man = man.WithSection("Copyright", "(C) 2022-2023 Charmbracelet, Inc.\n"+
2020
"Released under MIT license.")
21-
fmt.Fprint(ctx.Stdout, man.Build(roff.NewDocument()))
21+
_, _ = fmt.Fprint(ctx.Stdout, man.Build(roff.NewDocument()))
2222
ctx.Exit(0)
2323
return nil
2424
}

0 commit comments

Comments
 (0)