Skip to content

Commit 5284c3a

Browse files
author
Federico Fissore
committed
IDE Command line: using "isAbsolute" instead of "exists" to avoid conflicting with files in IDE install location
1 parent d133365 commit 5284c3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/processing/app/Base.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ public Base(String[] args) throws Exception {
370370
e.printStackTrace();
371371
}
372372
}
373-
if (!new File(path).exists()) {
373+
if (!new File(path).isAbsolute()) {
374374
path = new File(currentDirectory, path).getAbsolutePath();
375375
}
376376
if (handleOpen(path) != null) {

0 commit comments

Comments
 (0)