mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 16:50:09 +01:00
Add status command (#1329)
* Build the foundation of a status command * Apply fixes from StyleCI * Wip testing status command * Apply fixes from StyleCI * Fix status test * Apply fixes from StyleCI * Fix race condition in creating test config file * Apply fixes from StyleCI * Reset container for each test * Differentiate response code based on success or failure of status command * Apply fixes from StyleCI * Add the ability to test if a Brew service is running * Apply fixes from StyleCI * Check for more services running in status command * Apply fixes from StyleCI * Test Status * Apply fixes from StyleCI * Drop Yoast from base application test case Co-authored-by: StyleCI Bot <bot@styleci.io>
This commit is contained in:
@@ -31,7 +31,12 @@ public function onEveryRun(): void
|
||||
*/
|
||||
public function pruneMissingDirectories(): void
|
||||
{
|
||||
Configuration::prune();
|
||||
try {
|
||||
Configuration::prune();
|
||||
} catch (\JsonException $e) {
|
||||
warning('Invalid confiuration file at '.Configuration::path().'.');
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user