aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/stores/RecipesStore.js2
-rw-r--r--src/webview/recipe.js1
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 */
1import { ipcRenderer } from 'electron'; 2import { ipcRenderer } from 'electron';
2import path from 'path'; 3import path from 'path';
3import { autorun, computed, observable } from 'mobx'; 4import { autorun, computed, observable } from 'mobx';