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. |
---|
|
source/dub/packagemanager.d |
---|