forked from toolshed/abra
fix: catch suffix comparison bug
Upstream'd to coopcloud/tagcmp also.
This commit is contained in:
parent
7ad812ad98
commit
16e844643a
@ -144,7 +144,7 @@ func (t Tag) IsCompatible(tag Tag) bool {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
if t.Suffix != "" && tag.Suffix == "" {
|
if t.Suffix != "" && tag.Suffix == "" || t.Suffix == "" && tag.Suffix != "" {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user