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.
2 parents 670ad37 + 971bd77 commit d008d9dCopy full SHA for d008d9d
arduino-core/src/processing/app/helpers/FileUtils.java
@@ -85,7 +85,7 @@ public static void recursiveDelete(File file) {
85
recursiveDelete(current);
86
}
87
88
- deleteIfExists(file);
+ file.delete();
89
90
91
public static File createTempFolder() throws IOException {
@@ -274,10 +274,6 @@ public static boolean deleteIfExists(File file) {
274
return true;
275
276
277
- if (!file.exists()) {
278
- return false;
279
- }
280
-
281
return file.delete();
282
283
0 commit comments