Unverified Commit 3bf93f1f authored by skylot's avatar skylot Committed by GitHub

Merge pull request #323 from FlXME/patch-2

Directory Bug
parents 2433a7e8 1ec041a4
......@@ -57,7 +57,7 @@ public class FileUtils {
public static void makeDirs(@Nullable File dir) {
if (dir != null) {
synchronized (MKDIR_SYNC) {
if (!dir.exists() && !dir.mkdirs()) {
if (!dir.mkdirs() && !dir.isDirectory()) {
throw new JadxRuntimeException("Can't create directory " + dir);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment