more test file work
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit

This commit is contained in:
austin 2024-08-01 17:36:50 -04:00
parent 3e934fddd7
commit 52354e59ee
2 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,3 @@
#maven.buildNumber.plugin properties file #maven.buildNumber.plugin properties file
#Thu Aug 01 17:34:47 EDT 2024 #Thu Aug 01 17:36:27 EDT 2024
buildNumber=196 buildNumber=198

View File

@ -141,7 +141,8 @@ public class FontUtils {
try { try {
File imgFile = new File("./.testcache/testimg.png"); File imgFile = new File("./.testcache/testimg.png");
imgFile.mkdirs(); imgFile.delete();
imgFile.getParentFile().mkdirs();
ImageIO.write(image, "png", Files.newOutputStream(imgFile.toPath())); ImageIO.write(image, "png", Files.newOutputStream(imgFile.toPath()));
} catch (IOException e) { } catch (IOException e) {
// TODO Auto-generated catch block // TODO Auto-generated catch block