Cleanup merged jar on failure
This commit is contained in:
parent
943477143a
commit
9303dc39c3
1 changed files with 1 additions and 0 deletions
|
@ -104,6 +104,7 @@ public class MinecraftProvider extends DependencyProvider {
|
|||
} catch (ZipError e) {
|
||||
HashedDownloadUtil.delete(minecraftClientJar);
|
||||
HashedDownloadUtil.delete(minecraftServerJar);
|
||||
minecraftMergedJar.delete();
|
||||
|
||||
getProject().getLogger().error("Could not merge JARs! Deleting source JARs - please re-run the command and move on.", e);
|
||||
throw new RuntimeException();
|
||||
|
|
Loading…
Reference in a new issue