diff --git a/src/Commands/HydeBuildStaticSiteCommand.php b/src/Commands/HydeBuildStaticSiteCommand.php index 9161ee95..4aa554d2 100644 --- a/src/Commands/HydeBuildStaticSiteCommand.php +++ b/src/Commands/HydeBuildStaticSiteCommand.php @@ -162,7 +162,7 @@ function ($slug) { if ($this->option('pretty')) { $this->info('Prettifying code! This may take a second.'); try { - $this->line(shell_exec('npx prettier _site/ --write')); + $this->line(shell_exec('npx prettier _site/ --write --bracket-same-line')); } catch (Exception) { $this->warn('Could not prettify code! Is NPM installed?'); }