Merge pull request #323 from FlXME/patch-2

Directory Bug
This commit is contained in:
skylot
2018-07-30 11:33:59 +03:00
committed by GitHub
@@ -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);
}
}