Fix ppp
This commit is contained in:
parent
dcfd766e59
commit
dcf420e4bc
@ -109,7 +109,7 @@ func compare(basePackages map[string]packageInfo, targetPackages map[string]pack
|
|||||||
output := make(map[string]packageInfo)
|
output := make(map[string]packageInfo)
|
||||||
for pack, info := range targetPackages {
|
for pack, info := range targetPackages {
|
||||||
if baseVersion, ok := basePackages[pack]; ok {
|
if baseVersion, ok := basePackages[pack]; ok {
|
||||||
if version.Compare(info.Version, baseVersion.Version) != 0 {
|
if version.Compare(info.Version, baseVersion.Version) > 0 {
|
||||||
output[pack] = info
|
output[pack] = info
|
||||||
if !download {
|
if !download {
|
||||||
os.Stdout.WriteString(pack)
|
os.Stdout.WriteString(pack)
|
||||||
|
Loading…
Reference in New Issue
Block a user