ppp - switch to stdout write

This commit is contained in:
ferrreo 2023-08-24 21:04:41 +01:00
parent 37f026ffb4
commit 12473d9c08
2 changed files with 2 additions and 2 deletions

BIN
ppp

Binary file not shown.

View File

@ -65,10 +65,10 @@ func compare(basePackages map[string]string, targetPackages map[string]string) {
for pack, version := range targetPackages { for pack, version := range targetPackages {
if baseVersion, ok := basePackages[pack]; ok { if baseVersion, ok := basePackages[pack]; ok {
if baseVersion != version { if baseVersion != version {
print(pack) os.Stdout.WriteString(pack)
} }
} else { } else {
print(pack) os.Stdout.WriteString(pack)
} }
} }
} }