style: apply oxfmt

This commit is contained in:
Peter Steinberger committed 2026-01-17 18:32:23 +00:00
1 parent 7a3fa9ce03
commit 534a012a4e
6 files changed
+11 -15

No files matched your search

+1 -3
View File
@@ -105,9 +105,7 @@ function formatConsoleTimestamp(style: ConsoleStyle): string {
}
function hasTimestampPrefix(value: string): boolean {
return /^(?:\d{2}:\d{2}:\d{2}|\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z?)/.test(
value,
);
return /^(?:\d{2}:\d{2}:\d{2}|\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z?)/.test(value);
}
function isJsonPayload(value: string): boolean {