From e4a441d729b971825d29e670213e2ce54b614a2f Mon Sep 17 00:00:00 2001 From: Vladimir Sitnikov Date: Mon, 10 Aug 2020 12:50:56 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Add=20missing=20await=20in=20mkd?= =?UTF-8?q?ir(String)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kotlin/com/github/burrunan/wrappers/nodejs/FsExtensions.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrappers/nodejs/src/main/kotlin/com/github/burrunan/wrappers/nodejs/FsExtensions.kt b/wrappers/nodejs/src/main/kotlin/com/github/burrunan/wrappers/nodejs/FsExtensions.kt index 8401300..d6f8f7b 100644 --- a/wrappers/nodejs/src/main/kotlin/com/github/burrunan/wrappers/nodejs/FsExtensions.kt +++ b/wrappers/nodejs/src/main/kotlin/com/github/burrunan/wrappers/nodejs/FsExtensions.kt @@ -40,7 +40,7 @@ suspend fun removeFiles(files: List) { suspend fun mkdir(path: String) { if (!exists(path)) { - fs2.promises.mkdir(path) + fs2.promises.mkdir(path).await() } }