Skip to content

Commit

Permalink
Improves console output (#1097)
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro authored Jul 21, 2022
1 parent b8eae92 commit 2c7ccb9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"require": {
"php": "^8.0.2",
"ext-json": "*",
"illuminate/support": "^9.0",
"illuminate/console": "^9.21",
"illuminate/support": "^9.21",
"jenssegers/agent": "^2.6",
"laravel/fortify": "^1.12"
},
Expand Down
8 changes: 4 additions & 4 deletions src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ protected function installLivewireStack()
}

$this->line('');
$this->info('Livewire scaffolding installed successfully.');
$this->comment('Please execute "npm install && npm run dev" to build your assets.');
$this->components->info('Livewire scaffolding installed successfully.');
$this->components->warn('Please execute the [npm install && npm run dev] commands to build your assets.');
}

/**
Expand Down Expand Up @@ -420,8 +420,8 @@ protected function installInertiaStack()
}

$this->line('');
$this->info('Inertia scaffolding installed successfully.');
$this->comment('Please execute "npm install && npm run dev" to build your assets.');
$this->components->info('Inertia scaffolding installed successfully.');
$this->components->warn('Please execute the [npm install && npm run dev] commands to build your assets.');
}

/**
Expand Down

0 comments on commit 2c7ccb9

Please sign in to comment.