Skip to content

Commit

Permalink
Merge branch '3.3.x'
Browse files Browse the repository at this point in the history
Closes gh-42845
  • Loading branch information
mhalbritter committed Oct 23, 2024
2 parents 37c562a + 9cced06 commit 5e5f41b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,9 @@ private String escape(CharSequence content) {
}

static ArgFile create(CharSequence content) throws IOException {
ArgFile argFile = new ArgFile(Files.createTempFile("spring-boot-", ".argfile"));
Path tempFile = Files.createTempFile("spring-boot-", ".argfile");
tempFile.toFile().deleteOnExit();
ArgFile argFile = new ArgFile(tempFile);
argFile.write(content);
return argFile;
}
Expand Down

0 comments on commit 5e5f41b

Please sign in to comment.