Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Commit 8048180

Browse files
committed
Fixing size outputs to convert to B, KB, MB etc.
1 parent d7ebf6d commit 8048180

10 files changed

+456
-323
lines changed

differs/aptDiff.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func parseLine(text string, currPackage string, packages map[string]utils.Packag
9090
size = -1
9191
}
9292
// Installed-Size is in KB, so we convert it to bytes to keep consistent with the tool's size units
93-
currPackageInfo.Size = size * 1024
93+
currPackageInfo.Size = size * 1024
9494
packages[currPackage] = currPackageInfo
9595
return currPackage
9696
default:

0 commit comments

Comments
 (0)