Skip to content

Commit

Permalink
SDK-306 - Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mseaton committed Oct 30, 2024
1 parent 6e409dc commit 59a76b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ private void installConfiguration(Server server, DistroProperties distroProperti
// If such a folder is found in the downloaded artifact, use it. Otherwise, use the entire zip contents
File tempConfigDir = new File(server.getServerTmpDirectory(), UUID.randomUUID().toString());
try {
if (!tempConfigDir.mkdir()) {
if (!tempConfigDir.mkdirs()) {
throw new MojoExecutionException("Unable to create temporary directory " + tempConfigDir.getAbsolutePath() + "\n");
}
moduleInstaller.installAndUnpackModule(configArtifact, tempConfigDir.getAbsolutePath());
Expand Down

0 comments on commit 59a76b8

Please sign in to comment.