ppp - switch to stdout write
This commit is contained in:
parent
37f026ffb4
commit
12473d9c08
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user