We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00f6010 commit be48c2dCopy full SHA for be48c2d
1 file changed
app/src/processing/app/Sketch.java
@@ -922,9 +922,12 @@ public boolean accept(File file) {
922
return false;
923
}
924
// list of files/folders to be ignored during "save as"
925
- for (String ignorable : mode.getIgnorable()) {
926
- if (name.equals(ignorable)) {
927
- return false;
+ String[] ignorable = mode.getIgnorable();
+ if (ignorable != null) {
+ for (String ignore : ignorable) {
928
+ if (name.equals(ignore)) {
929
+ return false;
930
+ }
931
932
933
// ignore the extensions for code, since that'll be copied below
0 commit comments