Function: findFallbackUrl()¶
findFallbackUrl(
repoUrl,registries):string|undefined
Defined in: resolver/src/alias-resolver.ts:226
Find the fallback URL for a given repository URL by scanning the registries config.
This is used when resolving registry imports where only the expanded repoUrl is available (from the registry marker), but the fallbackUrl from the original alias entry is still needed for clone retries.
Parameters¶
repoUrl¶
string
The primary repository URL to look up
registries¶
Registry alias configuration to search
Returns¶
string | undefined
The fallback URL if found, or undefined