From cc5d43519de567d6458eb42fc7228d6d8fb68725 Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Wed, 14 Mar 2018 14:25:16 +0100 Subject: remove unnecessary ensureDir as emptyDirSync creates that path anyway --- src/index.js | 1 - 1 file changed, 1 deletion(-) 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; let willQuitApp = false; // Ensure that the recipe directory exists -fs.ensureDir(path.join(app.getPath('userData'), 'recipes')); fs.emptyDirSync(path.join(app.getPath('userData'), 'recipes', 'temp')); // Set App ID for Windows -- cgit v1.2.3-70-g09d2