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() } }