aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2018-03-14 14:25:16 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2018-03-14 14:25:16 +0100
commitcc5d43519de567d6458eb42fc7228d6d8fb68725 (patch)
tree4d215a2f051548154721d1285e45c4a714fe3e0e /src
parentfeat(Windows): Replace window frame with custom menu bar (diff)
downloadferdium-app-cc5d43519de567d6458eb42fc7228d6d8fb68725.tar.gz
ferdium-app-cc5d43519de567d6458eb42fc7228d6d8fb68725.tar.zst
ferdium-app-cc5d43519de567d6458eb42fc7228d6d8fb68725.zip
remove unnecessary ensureDir as emptyDirSync creates that path anyway
Diffstat (limited to 'src')
-rw-r--r--src/index.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js
index bb09bf42c..2542e69cc 100644
--- a/src/index.js
+++ b/src/index.js
@@ -18,7 +18,6 @@ let mainWindow;
18let willQuitApp = false; 18let willQuitApp = false;
19 19
20// Ensure that the recipe directory exists 20// Ensure that the recipe directory exists
21fs.ensureDir(path.join(app.getPath('userData'), 'recipes'));
22fs.emptyDirSync(path.join(app.getPath('userData'), 'recipes', 'temp')); 21fs.emptyDirSync(path.join(app.getPath('userData'), 'recipes', 'temp'));
23 22
24// Set App ID for Windows 23// Set App ID for Windows