Do not delete resources/templates directories after copying class files. Fixes #2
This commit is contained in:
parent
cbafe96064
commit
fab86c0245
2 changed files with 1 additions and 17 deletions
|
@ -38,20 +38,6 @@ public final class BootUtils {
|
|||
// no-op
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes the given directories.
|
||||
*
|
||||
* @param directories one or more directories to delete
|
||||
* @throws FileUtilsErrorException if an error occurs
|
||||
*/
|
||||
public static void deleteDirectories(File... directories) throws FileUtilsErrorException {
|
||||
for (var d : directories) {
|
||||
if (d.exists()) {
|
||||
FileUtils.deleteDirectory(d);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Calculates the given file size in bytes, kilobytes, megabytes, gigabytes or terabytes.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue