diff options
author | vantezzen <hello@vantezzen.io> | 2020-01-31 16:11:28 +0100 |
---|---|---|
committer | vantezzen <hello@vantezzen.io> | 2020-01-31 16:11:28 +0100 |
commit | 63a0a2667807596154dc7c297c8e48f82cd050d8 (patch) | |
tree | 3dfbe0f29dcfe1bf2c4da3765aad1ad83b3ccdf3 | |
parent | #328 Implement local updates (diff) | |
download | ferdium-app-63a0a2667807596154dc7c297c8e48f82cd050d8.tar.gz ferdium-app-63a0a2667807596154dc7c297c8e48f82cd050d8.tar.zst ferdium-app-63a0a2667807596154dc7c297c8e48f82cd050d8.zip |
Fix lint
-rw-r--r-- | src/stores/RecipesStore.js | 2 | ||||
-rw-r--r-- | src/webview/recipe.js | 1 |
2 files changed, 2 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); |
diff --git a/src/webview/recipe.js b/src/webview/recipe.js index 770532be1..8ea2fabd9 100644 --- a/src/webview/recipe.js +++ b/src/webview/recipe.js | |||
@@ -1,3 +1,4 @@ | |||
1 | /* eslint-disable import/first */ | ||
1 | import { ipcRenderer } from 'electron'; | 2 | import { ipcRenderer } from 'electron'; |
2 | import path from 'path'; | 3 | import path from 'path'; |
3 | import { autorun, computed, observable } from 'mobx'; | 4 | import { autorun, computed, observable } from 'mobx'; |