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:
@@ -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)
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user