Fix bug when add-on package string is ""
which deleted the entire add-on folder
This commit is contained in:
parent
3077a1f98a
commit
20424a7ef7
@ -157,7 +157,7 @@ class AddonManager:
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
# the name of the folder
|
# the name of the folder
|
||||||
"package": {"type": "string", "meta": False},
|
"package": {"type": "string", "minLength": 1, "meta": False},
|
||||||
# the displayed name to the user
|
# the displayed name to the user
|
||||||
"name": {"type": "string", "meta": True},
|
"name": {"type": "string", "meta": True},
|
||||||
# the time the add-on was last modified
|
# the time the add-on was last modified
|
||||||
|
Loading…
Reference in New Issue
Block a user