mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 16:40:05 +01:00
Merge pull request #1428 from mcaskill/improve-link-subcommands
Fix link command's `--isolate` argument with custom name
This commit is contained in:
@@ -197,12 +197,12 @@ function (ConsoleCommandEvent $event) {
|
||||
info('A ['.$name.'] symbolic link has been created in ['.$linkPath.'].');
|
||||
|
||||
if ($secure) {
|
||||
$this->runCommand('secure');
|
||||
$this->runCommand('secure '.$name);
|
||||
}
|
||||
|
||||
if ($isolate) {
|
||||
if (Site::phpRcVersion($name)) {
|
||||
$this->runCommand('isolate');
|
||||
if (Site::phpRcVersion($name, getcwd())) {
|
||||
$this->runCommand('isolate --site='.$name);
|
||||
} else {
|
||||
warning('Valet could not determine which PHP version to use for this site.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user