style: apply oxfmt

This commit is contained in:
Peter Steinberger
2026-01-17 18:32:15 +00:00
parent 7a3fa9ce03
commit 534a012a4e
6 changed files with 11 additions and 15 deletions

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 {