Skip to content

Commit 01d63f2

Browse files
committed
Merge pull request #3130 from PaulStoffregen/uncategorized-warning
Fix Uncategorized warning message
2 parents 765519a + 0210c6b commit 01d63f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-core/src/processing/app/packages/UserLibrary.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ public static UserLibrary create(File libFolder) throws IOException {
131131
if (category == null)
132132
category = "Uncategorized";
133133
if (!CATEGORIES.contains(category)) {
134-
category = "Uncategorized";
135134
System.out.println("WARNING: Category '" + category + "' in library " +
136135
properties.get("name") + " is not valid. Setting to 'Uncategorized'");
136+
category = "Uncategorized";
137137
}
138138

139139
String license = properties.get("license");

0 commit comments

Comments
 (0)