Skip to content

Commit 2d6f7a4

Browse files
committed
fix: ignore fmt.Fprint return in printSummary (errcheck)
1 parent 75e5684 commit 2d6f7a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/commands/run/summary.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ func printSummary(logger *logrus.Logger, entries []nukedEntry) {
9393
// logrus makes the TextFormatter quote the msg field and escape every
9494
// newline to a literal \n. Write straight to the logger's output so the
9595
// banner renders with real line breaks while still honouring SetOutput.
96-
fmt.Fprint(logger.Out, b.String())
96+
_, _ = fmt.Fprint(logger.Out, b.String())
9797
}
9898

9999
func label(e nukedEntry) string {

0 commit comments

Comments
 (0)