Remove redundant lookup for tools package
Because the first call to getBestPackage will use VersionRange.Any,
it will match whatever the second call would match, but the second
call will only happen if there is no match, hence it should not be
possible that the second call ever returns something.
1 parent 8421d7e commit e3bbd913a4b4bdd2b2eb8b8e3368e8ee5f9d9903
@Geod24 Geod24 authored on 26 Aug 2022
Showing 1 changed file
View
source/dub/dub.d