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.
File.getParentFile()
1 parent abe35e6 commit 1c3f317Copy full SHA for 1c3f317
arduino-core/src/processing/app/Sketch.java
@@ -46,7 +46,7 @@ public int compare(SketchFile x, SketchFile y) {
46
* Any file inside the sketch directory.
47
*/
48
Sketch(File file) throws IOException {
49
- folder = new File(file.getParent());
+ folder = file.getParentFile();
50
files = listSketchFiles(true);
51
}
52
0 commit comments