Merge pull request #1343 from BlueGreenMagick/disallow-empty-str-package-addon

Fix bug when add-on package string is ""
This commit is contained in:
Damien Elmes 2021-08-29 10:52:30 +10:00 committed by GitHub
commit b9461225ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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