Skip to content

Commit 0210c6b

Browse files
Fix Uncategorized warning message
1 parent 765519a commit 0210c6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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)