diff options
Diffstat (limited to 'src')
-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'; |