Skip to content

Commit 4e84a79

Browse files
committed
Link the upgrade guide for bad custom driver error
1 parent 19d1aeb commit 4e84a79

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cli/Valet/Upgrader.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function pruneMissingDirectories(): void
3030
try {
3131
Configuration::prune();
3232
} catch (\JsonException $e) {
33-
warning('Invalid confiuration file at '.Configuration::path().'.');
33+
warning('Invalid configuration file at '.Configuration::path().'.');
3434
exit;
3535
}
3636
}
@@ -91,6 +91,8 @@ public function errorIfOldCustomDrivers(): void
9191

9292
if (! str_contains($this->files->get($driversPath.'/'.$driver), 'namespace')) {
9393
warning('Please make sure all custom drivers have been upgraded for Valet 4.');
94+
warning('See the upgrade guide for more info:');
95+
warning('https://github.com/laravel/valet/blob/master/UPGRADE.md');
9496
exit;
9597
}
9698
}

0 commit comments

Comments
 (0)