mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 23:16:26 +00:00
fix(sbt): init registryUrls during extract
This commit is contained in:
parent
b4a057c7e9
commit
4bc12952d1
1 changed files with 1 additions and 0 deletions
|
@ -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') {
|
||||||
|
|
Loading…
Reference in a new issue