feat: fix function call mistake

This commit is contained in:
kimpure 2026-07-19 08:31:58 +00:00
parent b98cdd5c9d
commit 872d807a72
No known key found for this signature in database

View file

@ -10,7 +10,7 @@ export function processUnsounds(input: string): string {
input input
// Change tailing dots // Change tailing dots
.replace(/^ *([.,]+) *$/, (_, content: string) => .replace(/^ *([.,]+) *$/, (_, content: string) =>
"쩜".repeat(Math.max(content.length, 3)), "쩜".repeat(Math.min(content.length, 3)),
) )
.replace(/[.,]+$/, "") .replace(/[.,]+$/, "")
.replace(/[.,]{2,}/g, "") .replace(/[.,]{2,}/g, "")