1
0
mirror of https://github.com/flarum/core.git synced 2025-08-01 06:00:24 +02:00

Remove unwanted semicolon in assets files (#2280)

This commit is contained in:
Johannes Nilsson
2020-09-01 05:52:37 +02:00
committed by GitHub
parent f939d164b7
commit 384edfa52b

View File

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