Skip to content

Commit

Permalink
Add --bracket-same-line to Prettier command
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Apr 1, 2022
1 parent c434aac commit d4f2eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/HydeBuildStaticSiteCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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?');
}
Expand Down

0 comments on commit d4f2eab

Please sign in to comment.