fix: Delete tmpDir during cleanup too
This commit is contained in:
parent
b5571aa2e5
commit
3312710abe
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