diff options
author | 2023-05-28 13:48:21 +0530 | |
---|---|---|
committer | 2023-05-28 13:48:21 +0530 | |
commit | 99ca310c73024b51fed1f3077375eed7827f2c20 (patch) | |
tree | 2bd15986f448129a2291acba90ccc6bf68a233e0 /src/models/Recipe.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/models/Recipe.ts')
-rw-r--r-- | src/models/Recipe.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/models/Recipe.ts b/src/models/Recipe.ts index 9a28a59ac..a03d3447f 100644 --- a/src/models/Recipe.ts +++ b/src/models/Recipe.ts | |||
@@ -56,7 +56,7 @@ export interface IRecipe { | |||
56 | readonly knownCertificateHosts?: null | Function; | 56 | readonly knownCertificateHosts?: null | Function; |
57 | readonly events?: null | { (key: string): string }; | 57 | readonly events?: null | { (key: string): string }; |
58 | 58 | ||
59 | // TODO - [TS DEBT] Need to check if below properties are needed and where is inherited / implemented from | 59 | // TODO: [TS DEBT] Need to check if below properties are needed and where is inherited / implemented from |
60 | author?: string[]; | 60 | author?: string[]; |
61 | hasDarkMode?: boolean; | 61 | hasDarkMode?: boolean; |
62 | validateUrl?: (url: string) => boolean; | 62 | validateUrl?: (url: string) => boolean; |
@@ -108,7 +108,7 @@ export default class Recipe implements IRecipe { | |||
108 | // TODO: Is this being used? | 108 | // TODO: Is this being used? |
109 | local = false; | 109 | local = false; |
110 | 110 | ||
111 | // TODO - [TS DEBT] introduced to address missing function but need to check how validateUrl is inherited / implemented in recipe | 111 | // TODO: [TS DEBT] introduced to address missing function but need to check how validateUrl is inherited / implemented in recipe |
112 | validateUrl?: (url: string) => boolean; | 112 | validateUrl?: (url: string) => boolean; |
113 | 113 | ||
114 | // TODO: Need to reconcile which of these are optional/mandatory | 114 | // TODO: Need to reconcile which of these are optional/mandatory |