fix: replace control-char regex with explicit sanitizer

This commit is contained in:
Peter Steinberger
2026-02-13 17:57:14 +00:00
parent 201ac2b72a
commit e84318e4bc

View File

@@ -36,7 +36,6 @@ function replaceControlChars(value: string): string {
} }
return cleaned; return cleaned;
} }
const sanitizeLogValue = (value: string | undefined): string | undefined => { const sanitizeLogValue = (value: string | undefined): string | undefined => {
if (!value) { if (!value) {
return undefined; return undefined;