Skip to content

Commit

Permalink
💄 Improve the summary formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Log1x committed Aug 13, 2024
1 parent f15c77e commit 220c739
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Console/MakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,10 @@ protected function createView()
*/
protected function summary()
{
$this->line('');
if (! Str::contains($this->type, ['Block', 'Widget'])) {
$this->newLine();
}

$this->line("🎉 <fg=blue;options=bold>{$this->getNameInput()}</> {$this->getType()} successfully composed.");
$this->line(" ⮑ <fg=blue>{$this->shortenPath($this->path)}</>");

Expand Down

0 comments on commit 220c739

Please sign in to comment.