chore: dont log redis pw

This commit is contained in:
Ricardo Arturo Cabral Mejía 2023-04-07 16:36:09 -04:00
parent 039015bafb
commit 830a782db3
No known key found for this signature in database
GPG Key ID: 5931EBF43A650245

4
src/cache/client.ts vendored
View File

@ -15,7 +15,9 @@ let instance: CacheClient | undefined = undefined
export const getCacheClient = (): CacheClient => { export const getCacheClient = (): CacheClient => {
if (!instance) { if (!instance) {
const config = getCacheConfig() const config = getCacheConfig()
debug('config: %o', config) // eslint-disable-next-line @typescript-eslint/no-unused-vars
const { password: _, ...loggableConfig } = config
debug('config: %o', loggableConfig)
instance = createClient(config) instance = createClient(config)
} }