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 5485dec commit 1bf473d
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,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 1bf473d

Please sign in to comment.