mirror of
https://github.com/logos-messaging/packages.git
synced 2026-01-02 14:13:05 +00:00
add check for empty description (#2015)
* add check for empty description see https://github.com/nim-lang/packages/pull/2014 * add empty description to test if CI catches this * add back description
This commit is contained in:
parent
e547f8ec78
commit
5c9f4a4776
@ -113,6 +113,9 @@ proc check(): int =
|
||||
elif not pdata.hasKey("description"):
|
||||
echo "E: ", name, " has no description"
|
||||
result.inc()
|
||||
elif pdata.hasKey("description") and pdata["description"].str == "":
|
||||
echo "E: ", name, " has empty description"
|
||||
result.inc()
|
||||
elif not pdata.hasKey("license"):
|
||||
echo "E: ", name, " has no license"
|
||||
result.inc()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user