Skip to content

Commit 830a782

Browse files
committed
chore: dont log redis pw
1 parent 039015b commit 830a782

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/cache/client.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ let instance: CacheClient | undefined = undefined
1515
export const getCacheClient = (): CacheClient => {
1616
if (!instance) {
1717
const config = getCacheConfig()
18-
debug('config: %o', config)
18+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
19+
const { password: _, ...loggableConfig } = config
20+
debug('config: %o', loggableConfig)
1921
instance = createClient(config)
2022
}
2123

0 commit comments

Comments
 (0)