Skip to content

Commit 6ef6823

Browse files
committed
fix(comment): use fmt.Fprintf to satisfy staticcheck QF1012
1 parent c9e1d50 commit 6ef6823

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/vcs/comment/cost_details.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ func formatErroredProject(pr ProjectResult) string {
485485
}
486486
}
487487
if omitted > 0 {
488-
b.WriteString(fmt.Sprintf(" … and %d more error(s).\n", omitted))
488+
fmt.Fprintf(&b, " … and %d more error(s).\n", omitted)
489489
}
490490
return b.String()
491491
}

0 commit comments

Comments
 (0)