Skip to content

Commit

Permalink
chore: dont log redis pw
Browse files Browse the repository at this point in the history
  • Loading branch information
cameri committed Apr 16, 2023
1 parent 56dd9e1 commit 5d8328f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cache/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ let instance: CacheClient | undefined = undefined
export const getCacheClient = (): CacheClient => {
if (!instance) {
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)
}

Expand Down

0 comments on commit 5d8328f

Please sign in to comment.