mirror of
https://codeberg.org/git-pages/git-pages.git
synced 2026-05-14 03:01:48 +00:00
Work around slog issues handling %% in a format string.
This commit is contained in:
@@ -186,7 +186,7 @@ func CompressFiles(ctx context.Context, manifest *Manifest) {
|
||||
}
|
||||
|
||||
spaceSaving := (float64(originalSize) - float64(transformedSize)) / float64(originalSize)
|
||||
log.Printf("compress: saved %.2f%% (%s to %s)",
|
||||
log.Printf("compress: saved %.2f percent (%s to %s)",
|
||||
spaceSaving*100.0,
|
||||
datasize.ByteSize(originalSize).HR(),
|
||||
datasize.ByteSize(transformedSize).HR(),
|
||||
|
||||
Reference in New Issue
Block a user