Skip to content

Commit

Permalink
Fix error on cli if webroot directory doesnt exist
Browse files Browse the repository at this point in the history
  • Loading branch information
TBlueF authored and akemin-dayo committed Dec 14, 2024
1 parent ddfe62d commit e354f43
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ public void updateFiles() throws IOException {
if (zippedWebapp == null) throw new IOException("Failed to open bundled webapp.");

// extract zip to webroot
Files.createDirectories(webRoot);
FileHelper.extractZipFile(zippedWebapp, webRoot, StandardCopyOption.REPLACE_EXISTING);

// set version in index.html
Expand Down

0 comments on commit e354f43

Please sign in to comment.