fix: Delete tmpDir during cleanup too
This commit is contained in:
parent
67698d9b0c
commit
885748e46d
1 changed files with 1 additions and 0 deletions
|
@ -24,5 +24,6 @@ public class OpenSSLCertificateResult implements AutoCloseable {
|
|||
public void close() throws IOException {
|
||||
LOGGER.info("Cleaning up temporary output directory {}", tmpDir);
|
||||
Files.walkFileTree(tmpDir, Set.of(), Integer.MAX_VALUE, new DeleteRecursiveFileVisitor());
|
||||
Files.deleteIfExists(tmpDir);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue