mirror of
https://github.com/logos-messaging/packages.git
synced 2026-08-25 01:41:14 +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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user