Skip to content

Commit 0b21d55

Browse files
committed
Fix install processing-java bug
1 parent 49e5878 commit 0b21d55

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/src/processing/app/tools/InstallCommander.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,10 @@ public boolean accept(File dir, String name) {
157157
return name.toLowerCase().endsWith(".jar") && !name.startsWith(".");
158158
}
159159
});
160-
for (File jar : jars) {
161-
list.append(jar.getAbsolutePath());
160+
if (jars != null) {
161+
for (File jar : jars) {
162+
list.append(jar.getAbsolutePath());
163+
}
162164
}
163165
}
164166
}

0 commit comments

Comments
 (0)