mirror of
https://github.com/github/codeql-action.git
synced 2026-04-23 15:28:57 +00:00
Address formatting issues
This commit is contained in:
+5
-3
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user