Change removal of credentials to adhere to no-vars-unused
This commit is contained in:
parent
7ff117d65d
commit
b7b85bb26f
1 changed files with 2 additions and 2 deletions
|
|
@ -885,8 +885,8 @@ export function parseRegistriesWithoutCredentials(
|
|||
registriesInput?: string,
|
||||
): RegistryConfigNoCredentials[] | undefined {
|
||||
return parseRegistries(registriesInput)?.map((r) => {
|
||||
const { token: _, ...registryWithoutCredentials } = r;
|
||||
return registryWithoutCredentials;
|
||||
const { url, packages } = r;
|
||||
return { url, packages };
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue