From 4e84a79b292cf98ae922807ca4a3932f3044260b Mon Sep 17 00:00:00 2001 From: Matt Stauffer Date: Wed, 22 Feb 2023 15:21:16 -0500 Subject: [PATCH] Link the upgrade guide for bad custom driver error --- cli/Valet/Upgrader.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/Valet/Upgrader.php b/cli/Valet/Upgrader.php index 9705735..9129344 100644 --- a/cli/Valet/Upgrader.php +++ b/cli/Valet/Upgrader.php @@ -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; } }