diff options
author | 2023-05-28 13:48:21 +0530 | |
---|---|---|
committer | 2023-05-28 13:48:21 +0530 | |
commit | 99ca310c73024b51fed1f3077375eed7827f2c20 (patch) | |
tree | 2bd15986f448129a2291acba90ccc6bf68a233e0 /src/stores/index.ts | |
parent | Disable in-app auto-updates for portable windows installation (fixes #1088) (... (diff) | |
download | ferdium-app-99ca310c73024b51fed1f3077375eed7827f2c20.tar.gz ferdium-app-99ca310c73024b51fed1f3077375eed7827f2c20.tar.zst ferdium-app-99ca310c73024b51fed1f3077375eed7827f2c20.zip |
Fix issues reported by sonarqube linter
Diffstat (limited to 'src/stores/index.ts')
-rw-r--r-- | src/stores/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stores/index.ts b/src/stores/index.ts index 8836f2892..f9927d9a3 100644 --- a/src/stores/index.ts +++ b/src/stores/index.ts | |||
@@ -57,7 +57,7 @@ export default ( | |||
57 | 57 | ||
58 | // Initialize all stores | 58 | // Initialize all stores |
59 | for (const name of Object.keys(stores)) { | 59 | for (const name of Object.keys(stores)) { |
60 | if (stores[name] && stores[name].initialize) { | 60 | if (stores[name]?.initialize) { |
61 | stores[name].initialize(); | 61 | stores[name].initialize(); |
62 | } | 62 | } |
63 | } | 63 | } |