Fix issue with weird semicolon thing

This commit is contained in:
Collin Duncan 2022-11-30 09:58:37 +01:00
parent f607679bab
commit a081616746

View file

@ -79,6 +79,8 @@ export class LoggerInstance {
const toObfuscate = ['password']
toObfuscate.forEach((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] = '***'
}
})