From 8e7c0abd0ad08659cb2c6e9589a4ca420d0cc68a Mon Sep 17 00:00:00 2001 From: Lucas Rayan Date: Tue, 13 Oct 2026 10:32:38 -0300 Subject: [PATCH] fix(lint): codigo so em ASCII (lang-lint R9) nos arquivos de destinatarios Co-Authored-By: Claude Sonnet 5.5 --- services/webmail/src/lib/recipients.ts | 2 +- services/webmail/src/recipients.test.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/services/webmail/src/lib/recipients.ts b/services/webmail/src/lib/recipients.ts index 52ff8cd..6171dae 100644 --- a/services/webmail/src/lib/recipients.ts +++ b/services/webmail/src/lib/recipients.ts @@ -2,7 +2,7 @@ * Reading and answering address lists. * * The compose field used to split on every comma, which cuts a display name - * like `"Silva, João" ` in half and sends to two broken + * like `"Silva, Joao" ` in half and sends to two broken * addresses. Reply-all had no home at all: the composer took one `replyTo` * and nothing else, so answering a thread meant retyping everyone on it. */ diff --git a/services/webmail/src/recipients.test.ts b/services/webmail/src/recipients.test.ts index 916c97d..f423f13 100644 --- a/services/webmail/src/recipients.test.ts +++ b/services/webmail/src/recipients.test.ts @@ -17,10 +17,10 @@ describe("parseAddressList", () => { }); it("does not cut a quoted name that contains a comma", () => { - const list = parseAddressList('"Silva, João" , ana@x.test'); + const list = parseAddressList('"Silva, Joao" , ana@x.test'); expect(list).toHaveLength(2); expect(list[0].address).toBe("joao@x.test"); - expect(list[0].label).toBe("Silva, João"); + expect(list[0].label).toBe("Silva, Joao"); expect(list[0].valid).toBe(true); });