Skip to content

Commit

Permalink
missed this one
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Lamy <[email protected]>
  • Loading branch information
olamy committed Nov 12, 2024
1 parent fca11e5 commit 5485dec
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,7 @@ protected App createApp(final Archive<?> archive) {
final File exported;
try {
if (this.config.isUseArchiveNameAsContext()) {
Path tmpDirectory = Files.createTempDirectory("arquillian-jetty");
//tmpDirectory.toFile().deleteOnExit();
Path archivePath = tmpDirectory.resolveSibling(archive.getName());
Files.deleteIfExists(archivePath);
exported = Files.createFile(archivePath).toFile();
exported = Files.createFile(EXPORT_DIR.toPath().resolve(archive.getName())).toFile();
exported.deleteOnExit();
} else {
// If this method returns successfully then it is guaranteed that:
Expand Down

0 comments on commit 5485dec

Please sign in to comment.