From d260875adce9855c59aca5042bee8d2333a994ca Mon Sep 17 00:00:00 2001 From: Johannes Nilsson Date: Mon, 31 Aug 2020 19:00:56 +0200 Subject: [PATCH] Remove unwanted semicolon in assets files --- src/Frontend/Compiler/JsCompiler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Frontend/Compiler/JsCompiler.php b/src/Frontend/Compiler/JsCompiler.php index 1549ecc616..fe47602492 100644 --- a/src/Frontend/Compiler/JsCompiler.php +++ b/src/Frontend/Compiler/JsCompiler.php @@ -65,7 +65,7 @@ protected function save(string $file, array $sources): bool */ protected function format(string $string): string { - return preg_replace('~//# sourceMappingURL.*$~m', '', $string).";\n"; + return preg_replace('~//# sourceMappingURL.*$~m', '', $string)."\n"; } /**