fix(sbt): init registryUrls during extract

This commit is contained in:
Rhys Arkins 2024-03-01 07:16:58 +01:00
parent b4a057c7e9
commit 4bc12952d1
No known key found for this signature in database
GPG key ID: 4B50341A77CC799B

View file

@ -394,6 +394,7 @@ export async function extractAllPackageFiles(
}
for (const pkg of packages) {
for (const dep of pkg.deps) {
dep.registryUrls ??= [];
if (proxyUrls.length > 0) {
dep.registryUrls!.unshift(...proxyUrls);
} else if (dep.depType === 'plugin') {