mirror of
https://github.com/laravel/valet.git
synced 2026-02-04 08:10:07 +01:00
Link the upgrade guide for bad custom driver error
This commit is contained in:
@@ -30,7 +30,7 @@ public function pruneMissingDirectories(): void
|
||||
try {
|
||||
Configuration::prune();
|
||||
} catch (\JsonException $e) {
|
||||
warning('Invalid confiuration file at '.Configuration::path().'.');
|
||||
warning('Invalid configuration file at '.Configuration::path().'.');
|
||||
exit;
|
||||
}
|
||||
}
|
||||
@@ -91,6 +91,8 @@ public function errorIfOldCustomDrivers(): void
|
||||
|
||||
if (! str_contains($this->files->get($driversPath.'/'.$driver), 'namespace')) {
|
||||
warning('Please make sure all custom drivers have been upgraded for Valet 4.');
|
||||
warning('See the upgrade guide for more info:');
|
||||
warning('https://github.com/laravel/valet/blob/master/UPGRADE.md');
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user