mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-06 01:08:25 +01:00
Merge pull request #3130 from PaulStoffregen/uncategorized-warning
Fix Uncategorized warning message
This commit is contained in:
commit
01d63f2dd1
@ -131,9 +131,9 @@ public class UserLibrary extends ContributedLibrary {
|
|||||||
if (category == null)
|
if (category == null)
|
||||||
category = "Uncategorized";
|
category = "Uncategorized";
|
||||||
if (!CATEGORIES.contains(category)) {
|
if (!CATEGORIES.contains(category)) {
|
||||||
category = "Uncategorized";
|
|
||||||
System.out.println("WARNING: Category '" + category + "' in library " +
|
System.out.println("WARNING: Category '" + category + "' in library " +
|
||||||
properties.get("name") + " is not valid. Setting to 'Uncategorized'");
|
properties.get("name") + " is not valid. Setting to 'Uncategorized'");
|
||||||
|
category = "Uncategorized";
|
||||||
}
|
}
|
||||||
|
|
||||||
String license = properties.get("license");
|
String license = properties.get("license");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user