Set first match without version constraint
This commit is contained in:
parent
517c33aacf
commit
fc649b0937
@ -198,6 +198,10 @@ func (s *State) boxFind(
|
||||
continue
|
||||
}
|
||||
}
|
||||
// Set first match
|
||||
if match == nil {
|
||||
match = boxIndexEntry
|
||||
}
|
||||
v, _ := version.NewVersion(boxIndexEntry.Version)
|
||||
if v.GreaterThan(highestVersion) {
|
||||
highestVersion = v
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user