diff options
author | 2020-01-31 16:11:28 +0100 | |
---|---|---|
committer | 2020-01-31 16:11:28 +0100 | |
commit | 63a0a2667807596154dc7c297c8e48f82cd050d8 (patch) | |
tree | 3dfbe0f29dcfe1bf2c4da3765aad1ad83b3ccdf3 /src/stores | |
parent | #328 Implement local updates (diff) | |
download | ferdium-app-63a0a2667807596154dc7c297c8e48f82cd050d8.tar.gz ferdium-app-63a0a2667807596154dc7c297c8e48f82cd050d8.tar.zst ferdium-app-63a0a2667807596154dc7c297c8e48f82cd050d8.zip |
Fix lint
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/RecipesStore.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stores/RecipesStore.js b/src/stores/RecipesStore.js index fc7a07dd8..cf5d0a074 100644 --- a/src/stores/RecipesStore.js +++ b/src/stores/RecipesStore.js | |||
@@ -98,7 +98,7 @@ export default class RecipesStore extends Store { | |||
98 | const version = recipes[recipe]; | 98 | const version = recipes[recipe]; |
99 | 99 | ||
100 | // Find recipe in local recipe repository | 100 | // Find recipe in local recipe repository |
101 | const localRecipe = allJson.find((r) => r.id === recipe); | 101 | const localRecipe = allJson.find(r => r.id === recipe); |
102 | 102 | ||
103 | if (localRecipe && semver.lt(version, localRecipe.version)) { | 103 | if (localRecipe && semver.lt(version, localRecipe.version)) { |
104 | localUpdates.push(recipe); | 104 | localUpdates.push(recipe); |