1
0
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:
Matt Stauffer
2023-02-22 15:21:16 -05:00
parent 19d1aebe7e
commit 4e84a79b29

View File

@@ -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;
}
}