Problem:
If a found "nvim" does not meet minVersion, it's included in bothmatches and unmatchedVersions. It should only be included in unmatchedVersions.
Solution:
If a found "nvim" is broken or does not meet minVersion, do not include it in matches.
Merge the unmatchedVersions and errors collections into a single invalid list.
Problem: If a found "nvim" does not meet
minVersion
, it's included in bothmatches
andunmatchedVersions
. It should only be included inunmatchedVersions
.Solution:
minVersion
, do not include it in matches.unmatchedVersions
anderrors
collections into a singleinvalid
list.