Skip to content

Commit

Permalink
style: fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
xiCO2k committed May 31, 2024
1 parent ec30856 commit 466a710
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/NewCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use Symfony\Component\Process\Exception\ProcessStartFailedException;
use Symfony\Component\Process\PhpExecutableFinder;
use Symfony\Component\Process\Process;

use function Laravel\Prompts\confirm;
use function Laravel\Prompts\multiselect;
use function Laravel\Prompts\select;
Expand Down Expand Up @@ -787,7 +788,6 @@ protected function isParked(string $directory)
return $output !== false ? in_array(dirname($directory), json_decode($output)) : false;
}


/**
* Runs the given command on "herd" or "valet" cli.
*
Expand All @@ -805,7 +805,8 @@ protected function runOnValetOrHerd(string $command)
if ($process->isSuccessful()) {
return trim($process->getOutput());
}
} catch (ProcessStartFailedException) {}
} catch (ProcessStartFailedException) {
}
}

return false;
Expand Down

0 comments on commit 466a710

Please sign in to comment.