From 5c550ed14153ad079a7f4d2d9e535f2fd9ef59da Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Sat, 12 Jan 2019 22:37:49 +0700 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BE=D1=87=D0=B8=D1=81=D1=82=D0=BA=D1=83=20=D0=B2=D1=80=D0=B5?= =?UTF-8?q?=D0=BC=D0=B5=D0=BD=D0=BD=D0=BE=D0=B3=D0=BE=20=D0=BA=D0=B0=D1=82?= =?UTF-8?q?=D0=B0=D0=BB=D0=BE=D0=B3=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/index.js b/server/index.js index 7a0adda1..a6505a38 100644 --- a/server/index.js +++ b/server/index.js @@ -13,6 +13,7 @@ const SqliteConnectionPool = require('./core/SqliteConnectionPool'); async function init() { await fs.ensureDir(config.dataDir); await fs.ensureDir(config.tempDir); + await fs.emptyDir(config.tempDir); } async function main() {