feat: fix function call mistake
This commit is contained in:
parent
b98cdd5c9d
commit
872d807a72
1 changed files with 1 additions and 1 deletions
|
|
@ -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, "")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue