mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
IDE Command line: using "isAbsolute" instead of "exists" to avoid conflicting with files in IDE install location
This commit is contained in:
@ -370,7 +370,7 @@ public class Base {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
if (!new File(path).exists()) {
|
||||
if (!new File(path).isAbsolute()) {
|
||||
path = new File(currentDirectory, path).getAbsolutePath();
|
||||
}
|
||||
if (handleOpen(path) != null) {
|
||||
|
Reference in New Issue
Block a user