From fdbce4d84ddf5b1bf18229f4bca5ae8cdb55ca40 Mon Sep 17 00:00:00 2001 From: Danny Murphy <6512845+dltmurphy@users.noreply.github.com> Date: Wed, 26 May 2021 00:43:54 +0100 Subject: [PATCH] Update webauthn-fallback.ts (#992) Add missing semicolon and enable console.error bypass for tslint --- src/connectors/webauthn-fallback.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/connectors/webauthn-fallback.ts b/src/connectors/webauthn-fallback.ts index 72f920e4fc..caffda43ca 100644 --- a/src/connectors/webauthn-fallback.ts +++ b/src/connectors/webauthn-fallback.ts @@ -16,8 +16,9 @@ document.addEventListener('DOMContentLoaded', async () => { try { locales = await loadLocales(locale); } catch { + // tslint:disable-next-line:no-console console.error('Failed to load the locale', locale); - locales = await loadLocales('en') + locales = await loadLocales('en'); } document.getElementById('msg').innerText = translate('webAuthnFallbackMsg');