Skip to content

Commit

Permalink
fix: get URL from credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
HiranmayaGundu committed May 2, 2024
1 parent 441743c commit df46b55
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export abstract class CredentialProvider implements RegistryAuthLocator {
return {
username: response.Username,
password: response.Secret,
registryAddress: response.ServerURL,
registryAddress: Object.keys(credentials).find((aRegistry) => registryMatches(aRegistry, registry)) as string,
};
}

Expand Down

0 comments on commit df46b55

Please sign in to comment.