File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
app/src/processing/app/packages Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,11 @@ private static Library createLibrary(File libFolder) throws IOException {
77
77
// 3. check if root folder contains prohibited stuff
78
78
for (File file : libFolder .listFiles ()) {
79
79
if (file .isDirectory ()) {
80
- if (!SOURCE_CONTROL_FOLDERS .contains (file .getName ()) && !OPTIONAL_FOLDERS .contains (file .getName ()))
80
+ if (SOURCE_CONTROL_FOLDERS .contains (file .getName ())) {
81
+ System .out .println ("WARNING: Ignoring spurious " + file .getName () + " folder in '" + properties .get ("name" ) + "' library" );
82
+ continue ;
83
+ }
84
+ if (!OPTIONAL_FOLDERS .contains (file .getName ()))
81
85
throw new IOException ("Invalid folder '" + file .getName () + "'." );
82
86
} else {
83
87
if (!OPTIONAL_FILES .contains (file .getName ()))
You can’t perform that action at this time.
0 commit comments