Skip to content
Snippets Groups Projects
Unverified Commit 4bc12952 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix(sbt): init registryUrls during extract

parent b4a057c7
No related branches found
No related tags found
No related merge requests found
...@@ -394,6 +394,7 @@ export async function extractAllPackageFiles( ...@@ -394,6 +394,7 @@ export async function extractAllPackageFiles(
} }
for (const pkg of packages) { for (const pkg of packages) {
for (const dep of pkg.deps) { for (const dep of pkg.deps) {
dep.registryUrls ??= [];
if (proxyUrls.length > 0) { if (proxyUrls.length > 0) {
dep.registryUrls!.unshift(...proxyUrls); dep.registryUrls!.unshift(...proxyUrls);
} else if (dep.depType === 'plugin') { } else if (dep.depType === 'plugin') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment