mirror of
https://github.com/laravel/valet.git
synced 2026-02-04 08:10:07 +01:00
Inline site check in unisolate command
This commit is contained in:
@@ -233,9 +233,7 @@ public function isolateDirectory($directory, $version)
|
||||
*/
|
||||
public function unIsolateDirectory($directory)
|
||||
{
|
||||
$site = $this->site->getSiteUrl($directory);
|
||||
|
||||
if (! $site) {
|
||||
if (! $site = $this->site->getSiteUrl($directory)) {
|
||||
throw new DomainException("The [{$directory}] site could not be found in Valet's site list.");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user