build ok,

This commit is contained in:
louiscklaw
2025-06-15 11:28:24 +08:00
parent c319c103f6
commit b7cd25b614
1088 changed files with 4376 additions and 7002 deletions

View File

@@ -40,11 +40,7 @@ export function logger(label: string, value: unknown, breakLine: boolean = false
if (value === null || value === undefined) {
formattedValue = String(value);
} else if (type === 'object') {
formattedValue = JSON.stringify(
value,
null,
breakLine || JSON.stringify(value).length > 50 ? 2 : 0
);
formattedValue = JSON.stringify(value, null, breakLine || JSON.stringify(value).length > 50 ? 2 : 0);
} else {
formattedValue = String(value);
}