🚨 Fixed linter errors

This commit is contained in:
Mawoka
2022-12-19 13:33:50 +01:00
parent ab1ab91153
commit 0f947c9d2b
4 changed files with 2 additions and 8 deletions
@@ -48,6 +48,7 @@
}
let attResp;
const resp_data = await res1.json();
// eslint-disable-next-line no-useless-catch
try {
resp_data.authenticatorSelection.authenticatorAttachment = 'cross-platform';
for (let i = 0; i++; i < resp_data.excludeCredentials.length) {
@@ -8,7 +8,7 @@
let already_downloaded = false;
const download_code = (force: boolean = false) => {
const download_code = (force = false) => {
if (already_downloaded && !force) {
return;
}