From 8a2d5891fe51c1ab1856ebb50055c8051d94785d Mon Sep 17 00:00:00 2001 From: claustromaniac <20734810+claustromaniac@users.noreply.github.com> Date: Thu, 22 Nov 2018 10:48:47 -0700 Subject: [PATCH] updater.sh minify regex Co-Authored-By: overdodactyl <patjohns1216@gmail.com> --- updater.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updater.sh b/updater.sh index 0949706..92a2e47 100755 --- a/updater.sh +++ b/updater.sh @@ -314,7 +314,7 @@ update_userjs () { remove_comments () { from_file=$1 to_file=$2 - sed -e 's/^[[:space:]]*\/\/.*$//' -e '/^\/\*/,/\*\//d' -e '/^[[:space:]]*$/d' -e 's/);[[:space:]]\/\/.*/);/' $from_file > $to_file + sed -e 's/^[[:space:]]*\/\/.*$//' -e '/^\/\*/,/\*\//d' -e '/^[[:space:]]*$/d' -e 's/);[[:space:]]*\/\/.*/);/' $from_file > $to_file } create_diff () {