We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c5ce57 commit 93c4291Copy full SHA for 93c4291
src/main/java/sub/optimal/hacklace2/TemplateProcessor.java
@@ -71,7 +71,7 @@ public void processTemplateFile(File template) throws IOException {
71
int indexLastDot = templateFileName.lastIndexOf(".");
72
String baseName = templateFileName.substring(0, indexLastDot < 0 ? templateFileName.length() : indexLastDot);
73
File hacklaceFile = new File(baseName + ".hl");
74
- if (FileUtil.isReadableFile(hacklaceFile)) {
+ if (hacklaceFile.exists()) {
75
System.err.println(String.format("%s: output file already exist", hacklaceFile.getName()));
76
return;
77
}
0 commit comments