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:
parent
05380828c6
commit
0ead3b477f
|
@ -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)
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user