1
0
forked from clan/clan-core

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 05380828c6
commit 0ead3b477f

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)
];