diff options
| author | Andreas Nedbal <andreas.nedbal@in2code.de> | 2022-05-07 07:19:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-07 14:19:15 +0900 |
| commit | a975a0971cb0aa3b684204f910fba8b714c0f5fb (patch) | |
| tree | 7feeaeae17c8f0debf42e301c20912adb1afa594 /packages/client/src/scripts/idb-proxy.ts | |
| parent | refactor(client): refactor settings/theme/manage to use Composition API (#8596) (diff) | |
| download | sharkey-a975a0971cb0aa3b684204f910fba8b714c0f5fb.tar.gz sharkey-a975a0971cb0aa3b684204f910fba8b714c0f5fb.tar.bz2 sharkey-a975a0971cb0aa3b684204f910fba8b714c0f5fb.zip | |
fix(client): fix lint issues in scripts (#8621)
Diffstat (limited to 'packages/client/src/scripts/idb-proxy.ts')
| -rw-r--r-- | packages/client/src/scripts/idb-proxy.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/client/src/scripts/idb-proxy.ts b/packages/client/src/scripts/idb-proxy.ts index 5f76ae30bb..d462a0d7ce 100644 --- a/packages/client/src/scripts/idb-proxy.ts +++ b/packages/client/src/scripts/idb-proxy.ts @@ -13,8 +13,8 @@ let idbAvailable = typeof window !== 'undefined' ? !!window.indexedDB : true; if (idbAvailable) { try { await iset('idb-test', 'test'); - } catch (e) { - console.error('idb error', e); + } catch (err) { + console.error('idb error', err); idbAvailable = false; } } |