Address formatting issues
This commit is contained in:
parent
060c11b07f
commit
7ff117d65d
2 changed files with 19 additions and 8 deletions
|
|
@ -881,11 +881,13 @@ function parseRegistries(
|
|||
}
|
||||
}
|
||||
|
||||
export function parseRegistriesWithoutCredentials(registriesInput?: string) : RegistryConfigNoCredentials[] | undefined {
|
||||
export function parseRegistriesWithoutCredentials(
|
||||
registriesInput?: string,
|
||||
): RegistryConfigNoCredentials[] | undefined {
|
||||
return parseRegistries(registriesInput)?.map((r) => {
|
||||
const {token:_, ...registryWithoutCredentials} = r;
|
||||
const { token: _, ...registryWithoutCredentials } = r;
|
||||
return registryWithoutCredentials;
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
function isLocal(configPath: string): boolean {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue