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"; } /**