From 043449fe7dc8e5608920889a83d35444f9b2bffb Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 8 Mar 2026 13:53:24 +0800 Subject: *: BestEffortFprintf as linter wants --- internal/utils/progress.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/utils') diff --git a/internal/utils/progress.go b/internal/utils/progress.go index acb763ac..2adcb26a 100644 --- a/internal/utils/progress.go +++ b/internal/utils/progress.go @@ -6,10 +6,10 @@ import ( "io" ) -// FprintfBestEffort writes one formatted message to w. +// BestEffortFprintf writes one formatted message to w. // // It is nil-safe and ignores write errors by design. -func FprintfBestEffort(w io.Writer, format string, args ...any) { +func BestEffortFprintf(w io.Writer, format string, args ...any) { if w == nil { return } -- cgit v1.3.1-10-gc9f91