Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Commit

Permalink
io fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sokomishalov committed Dec 10, 2019
1 parent 38deb0d commit bd48ffa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fun File.zipFiles(filesMap: Map<String, ByteArray>) {
}

fun File.unzipTo(folder: File) {
if (folder.exists().not()) folder.mkdir()
if (folder.exists().not()) folder.mkdirs()

FileInputStream(this).use { fis ->
ZipInputStream(fis).use { zis ->
Expand Down

0 comments on commit bd48ffa

Please sign in to comment.