aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar vantezzen <hello@vantezzen.io>2020-01-31 16:11:28 +0100
committerLibravatar vantezzen <hello@vantezzen.io>2020-01-31 16:11:28 +0100
commit63a0a2667807596154dc7c297c8e48f82cd050d8 (patch)
tree3dfbe0f29dcfe1bf2c4da3765aad1ad83b3ccdf3
parent#328 Implement local updates (diff)
downloadferdium-app-63a0a2667807596154dc7c297c8e48f82cd050d8.tar.gz
ferdium-app-63a0a2667807596154dc7c297c8e48f82cd050d8.tar.zst
ferdium-app-63a0a2667807596154dc7c297c8e48f82cd050d8.zip
Fix lint
-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';