Fix issue with weird semicolon thing

This commit is contained in:
Collin Duncan 2022-11-30 09:58:37 +01:00
parent 69249a11dc
commit 420aa5ed78
No known key found for this signature in database

View file

@ -79,6 +79,8 @@ export class LoggerInstance {
const toObfuscate = ['password'] const toObfuscate = ['password']
toObfuscate.forEach((key) => { toObfuscate.forEach((key) => {
if ((details as Record<string, unknown>)[key]) { if ((details as Record<string, unknown>)[key]) {
// Prettier and eslint are fighting
// eslint-disable-next-line @typescript-eslint/no-extra-semi
;(details as Record<string, unknown>)[key] = '***' ;(details as Record<string, unknown>)[key] = '***'
} }
}) })