We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d031911 commit 91a1fdcCopy full SHA for 91a1fdc
app/Console/Commands/ServicesGenerate.php
@@ -39,8 +39,8 @@ public function handle()
39
$serviceTemplatesJson[$name] = $parsed;
40
}
41
42
- $serviceTemplatesJson = json_encode($serviceTemplatesJson);
43
- file_put_contents(base_path('templates/service-templates.json'), $serviceTemplatesJson);
+ $serviceTemplatesJson = json_encode($serviceTemplatesJson, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
+ file_put_contents(base_path('templates/service-templates.json'), $serviceTemplatesJson.PHP_EOL);
44
45
46
private function process_file($file)
0 commit comments