mirror of
https://github.com/laravel/valet.git
synced 2026-02-07 01:00:09 +01:00
Internal update: use existing function instead of duplicated code
This commit is contained in:
@@ -29,7 +29,7 @@ function __construct(CommandLine $cli, Filesystem $files)
|
|||||||
*/
|
*/
|
||||||
function symlinkToUsersBin()
|
function symlinkToUsersBin()
|
||||||
{
|
{
|
||||||
$this->cli->quietlyAsUser('rm '.$this->valetBin);
|
$this->unlinkFromUsersBin();
|
||||||
|
|
||||||
$this->cli->runAsUser('ln -s "'.realpath(__DIR__.'/../../valet').'" '.$this->valetBin);
|
$this->cli->runAsUser('ln -s "'.realpath(__DIR__.'/../../valet').'" '.$this->valetBin);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user