mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 23:38:27 +00:00
chore: migrate to oxlint and oxfmt
Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
@@ -47,11 +47,7 @@ function normalizeVcardKey(key: string): string | undefined {
|
||||
}
|
||||
|
||||
function cleanVcardValue(value: string): string {
|
||||
return value
|
||||
.replace(/\\n/gi, " ")
|
||||
.replace(/\\,/g, ",")
|
||||
.replace(/\\;/g, ";")
|
||||
.trim();
|
||||
return value.replace(/\\n/gi, " ").replace(/\\,/g, ",").replace(/\\;/g, ";").trim();
|
||||
}
|
||||
|
||||
function normalizeVcardName(value: string): string {
|
||||
|
||||
Reference in New Issue
Block a user