#57: Fixed null pointer exception when output jar directory is the same as the working directory.
This commit is contained in:
parent
378cd78432
commit
c6c8cc3e36
@ -176,7 +176,7 @@ public class JarRemapper extends CustomRemapper {
|
|||||||
if (jar == null) {
|
if (jar == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!target.getParentFile().exists()) {
|
if (target.getParentFile() != null && !target.getParentFile().exists()) {
|
||||||
target.getParentFile().mkdirs();
|
target.getParentFile().mkdirs();
|
||||||
}
|
}
|
||||||
ClassRepo repo = new JarRepo(jar);
|
ClassRepo repo = new JarRepo(jar);
|
||||||
|
Loading…
Reference in New Issue
Block a user