Only check if the Package is managed by the Location in lookup
Previously, we were calling back into the PackageManager to check
if the Package we were looking at was managed.
However, as we are only iterating on Packages that are in fromPath,
we should be able to rely on the Location.isManaged property,
instead of PackageManager.isManagedPackage, which just calls
Location.isManaged for each Location.
1 parent c9e8bf1 commit f498214a0f53ec0ad27597caf86b7109565ad8ba
@Mathias Lang Mathias Lang authored on 8 Jan 2024
Showing 1 changed file
View
source/dub/packagemanager.d