diff options
Diffstat (limited to 'src/helpers')
-rw-r--r-- | src/helpers/recipe-helpers.js | 2 | ||||
-rw-r--r-- | src/helpers/service-helpers.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers/recipe-helpers.js b/src/helpers/recipe-helpers.js index 257e322fb..a31c29e72 100644 --- a/src/helpers/recipe-helpers.js +++ b/src/helpers/recipe-helpers.js | |||
@@ -3,7 +3,7 @@ import { remote } from 'electron'; | |||
3 | 3 | ||
4 | // import ServiceModel from '../models/Service'; | 4 | // import ServiceModel from '../models/Service'; |
5 | 5 | ||
6 | const app = remote.app; | 6 | const { app } = remote; |
7 | 7 | ||
8 | export function getRecipeDirectory(id = '') { | 8 | export function getRecipeDirectory(id = '') { |
9 | return path.join(app.getPath('userData'), 'recipes', id); | 9 | return path.join(app.getPath('userData'), 'recipes', id); |
diff --git a/src/helpers/service-helpers.js b/src/helpers/service-helpers.js index 5f63f6b7c..83f89f108 100644 --- a/src/helpers/service-helpers.js +++ b/src/helpers/service-helpers.js | |||
@@ -2,7 +2,7 @@ import path from 'path'; | |||
2 | import { remote } from 'electron'; | 2 | import { remote } from 'electron'; |
3 | import fs from 'fs-extra'; | 3 | import fs from 'fs-extra'; |
4 | 4 | ||
5 | const app = remote.app; | 5 | const { app } = remote; |
6 | 6 | ||
7 | export function getServicePartitionsDirectory() { | 7 | export function getServicePartitionsDirectory() { |
8 | return path.join(app.getPath('userData'), 'Partitions'); | 8 | return path.join(app.getPath('userData'), 'Partitions'); |