From d654dffef3dc9915b5544e631b944526cea46f3b Mon Sep 17 00:00:00 2001 From: Pranav C <61551451+pranavxc@users.noreply.github.com> Date: Tue, 20 Jul 2021 20:47:28 +0530 Subject: [PATCH] fix: Make tool directory creation synchronous Signed-off-by: Pranav C <61551451+pranavxc@users.noreply.github.com> --- packages/nocodb/src/lib/noco/Noco.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/src/lib/noco/Noco.ts b/packages/nocodb/src/lib/noco/Noco.ts index c5ec1d9ae6..594bc12990 100644 --- a/packages/nocodb/src/lib/noco/Noco.ts +++ b/packages/nocodb/src/lib/noco/Noco.ts @@ -151,7 +151,7 @@ export default class Noco { log('Initializing app'); // create tool directory if missing - mkdirp(this.config.toolDir); + mkdirp.sync(this.config.toolDir); this.initSentry();