Misc/Fixup

* fixed an exception for using an enum as string when generating log message.
This commit is contained in:
Sarjuuk
2025-03-19 13:50:28 +01:00
parent 6f8b72c980
commit 676c8617a5

View File

@@ -594,7 +594,7 @@ class CLISetup
if ($missing = array_diff_key(self::$locales, self::$gsFiles)) if ($missing = array_diff_key(self::$locales, self::$gsFiles))
{ {
ClI::write('GlobalStrings.lua not found for locale '. Lang::concat($missing), CLI::LOG_WARN); ClI::write('GlobalStrings.lua not found for locale '. Lang::concat($missing, callback: fn($x) => $x->name), CLI::LOG_WARN);
return false; return false;
} }