From b143083bdd61cdba091228e72996bc4d06f8ddb2 Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Mon, 23 Dec 2024 06:36:27 +0700 Subject: [PATCH] Stop replacing toUppercCase() in build.ts --- build.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.ts b/build.ts index aa4dbff..798ba51 100755 --- a/build.ts +++ b/build.ts @@ -116,9 +116,9 @@ function postProcess(str: string): string { str = str.replaceAll(/\\n\/\/.*?(?=\\n)/g, ''); // Replace ${"time".toUpperCase()} with "TIME" - str = str.replaceAll(/\$\{"([^"]+)"\.toUpperCase\(\)\}/g, (match, p1) => { - return p1.toUpperCase(); - }); + // str = str.replaceAll(/\$\{"([^"]+)"\.toUpperCase\(\)\}/g, (match, p1) => { + // return p1.toUpperCase(); + // }); // Replace " (e) =>" to " e =>" // str = str.replaceAll(/ \(([^\s,.$()]+)\) =>/g, ' $1 =>');