Skip to content

Commit

Permalink
Update NewCommand.php
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell authored May 3, 2024
1 parent 0ff4a98 commit d316d13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/NewCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ protected function canResolveHostname($hostname)
}

/**
* Checks if the given directory is parked using Herd or Valet.
* Determine if the given directory is parked using Herd or Valet.
*
* @param string $directory
* @return bool
Expand All @@ -771,6 +771,7 @@ protected function isParked(string $directory)
{
foreach (['herd', 'valet'] as $tool) {
$process = new Process([$tool, 'paths']);

$process->run();

if ($process->isSuccessful()) {
Expand Down

0 comments on commit d316d13

Please sign in to comment.