From 384edfa52b27072930596b8765c474e3cb485152 Mon Sep 17 00:00:00 2001 From: Johannes Nilsson Date: Tue, 1 Sep 2020 05:52:37 +0200 Subject: [PATCH] Remove unwanted semicolon in assets files (#2280) --- 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"; } /**