Skip to content

Commit

Permalink
Man I don't even know at this point
Browse files Browse the repository at this point in the history
  • Loading branch information
esotericenderman committed Sep 10, 2024
1 parent 8cb7ea1 commit 68c27bc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,11 @@ fun moveFilesRecursively(sourceDir: File, destDir: File) {
}
}

destFile.mkdir()
destFile.mkdirs()

if (!destFile.exists()) {
if (!destFile.mkdirs()) {
if (!destFile.mkdir()) {
println("FAILED to create directory ${destFile.parentFile.path}")
return
}
Expand Down

0 comments on commit 68c27bc

Please sign in to comment.