buildClan: improve deprecation error message of clanName

Printing the clanName in my case was actually more confusing then
helpful. Also mention what function needs to be updated.
This commit is contained in:
Jörg Thalheim
2024-06-30 08:07:01 +02:00
parent 3879c5160b
commit 740f05f8ea

View File

@@ -107,7 +107,7 @@ let
deprecationWarnings = [
(lib.warnIf (
clanName != null
) "clanName is deprecated, please use meta.name instead. ${clanName}" null)
) "clanName in buildClan is deprecated, please use meta.name instead." null)
(lib.warnIf (clanIcon != null) "clanIcon is deprecated, please use meta.icon instead" null)
];