mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-14 16:46:25 +00:00
fix: add return value for additionalRegistryURLs concat in resolveRegistryUrls (#16334)
This commit is contained in:
parent
5b115d41c3
commit
3b8bd95fe8
1 changed files with 3 additions and 3 deletions
|
@ -219,13 +219,13 @@ function resolveRegistryUrls(
|
|||
resolvedUrls = [...customUrls];
|
||||
} else if (is.nonEmptyArray(defaultRegistryUrls)) {
|
||||
resolvedUrls = [...defaultRegistryUrls];
|
||||
resolvedUrls.concat(additionalRegistryUrls ?? []);
|
||||
resolvedUrls = resolvedUrls.concat(additionalRegistryUrls ?? []);
|
||||
} else if (is.function_(datasource.defaultRegistryUrls)) {
|
||||
resolvedUrls = [...datasource.defaultRegistryUrls()];
|
||||
resolvedUrls.concat(additionalRegistryUrls ?? []);
|
||||
resolvedUrls = resolvedUrls.concat(additionalRegistryUrls ?? []);
|
||||
} else if (is.nonEmptyArray(datasource.defaultRegistryUrls)) {
|
||||
resolvedUrls = [...datasource.defaultRegistryUrls];
|
||||
resolvedUrls.concat(additionalRegistryUrls ?? []);
|
||||
resolvedUrls = resolvedUrls.concat(additionalRegistryUrls ?? []);
|
||||
}
|
||||
return massageRegistryUrls(resolvedUrls);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue