From 7bdabb030ad2691ed18da70e72aa255de723f728 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Mon, 11 May 2020 01:49:04 -0400 Subject: [PATCH] don't add space to end of converted lines --- devTools/Script to convert SC to JS/SC to JS 1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devTools/Script to convert SC to JS/SC to JS 1.py b/devTools/Script to convert SC to JS/SC to JS 1.py index dd46ba50efc..4824706f6cf 100644 --- a/devTools/Script to convert SC to JS/SC to JS 1.py +++ b/devTools/Script to convert SC to JS/SC to JS 1.py @@ -18,7 +18,7 @@ editor.rereplace(r"([a-zA-Z@].*?)<<", r"$1\n<<") editor.rereplace(r">>([a-zA-Z,\.@ ].*?)", r">>\n\t$1") # Raw text -editor.rereplace(r" ([a-zA-Z@\.,; ].*)", r" r.push\(`\1 `\);") +editor.rereplace(r" ([a-zA-Z@\.,; ].*)", r" r.push\(`\1`\);") # If / else editor.rereplace(r"<<if (.*?)>>", r"if \1 {") -- GitLab