Skip to content

Commit

Permalink
πŸ› Add missing await in mkdir(String)
Browse files Browse the repository at this point in the history
  • Loading branch information
vlsi committed Aug 10, 2020
1 parent 54f0245 commit e4a441d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ suspend fun removeFiles(files: List<String>) {

suspend fun mkdir(path: String) {
if (!exists(path)) {
fs2.promises.mkdir(path)
fs2.promises.mkdir(path).await()
}
}

Expand Down

0 comments on commit e4a441d

Please sign in to comment.