From 3fe07dd316bde2ea625166176b2285bf0c631889 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 8 Mar 2026 17:53:45 +0800 Subject: *: Fix lints --- internal/progress/humanize.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/progress/humanize.go') diff --git a/internal/progress/humanize.go b/internal/progress/humanize.go index fd68e1e9..f13845f7 100644 --- a/internal/progress/humanize.go +++ b/internal/progress/humanize.go @@ -9,6 +9,7 @@ func humanizeBytes(n uint64) string { } value := float64(n) + units := []string{"KiB", "MiB", "GiB", "TiB", "PiB"} for i := range units { value /= unit -- cgit v1.3.1-10-gc9f91