From 2aa431288641f8f169cea3d495c3db61d2f8fb8b 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) --- framework/core/src/Frontend/Compiler/JsCompiler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/src/Frontend/Compiler/JsCompiler.php b/framework/core/src/Frontend/Compiler/JsCompiler.php index 1549ecc61..fe4760249 100644 --- a/framework/core/src/Frontend/Compiler/JsCompiler.php +++ b/framework/core/src/Frontend/Compiler/JsCompiler.php @@ -65,7 +65,7 @@ class JsCompiler extends RevisionCompiler */ protected function format(string $string): string { - return preg_replace('~//# sourceMappingURL.*$~m', '', $string).";\n"; + return preg_replace('~//# sourceMappingURL.*$~m', '', $string)."\n"; } /**