mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 00:20:08 +01:00
run commands as sudo
This commit is contained in:
@@ -128,7 +128,7 @@ function createDomainResolver($domain)
|
||||
*/
|
||||
function updateDomain($oldDomain, $newDomain)
|
||||
{
|
||||
$this->cli->quietly('rm '.$this->resolverPath.'/'.$oldDomain);
|
||||
$this->files->unlink($this->resolverPath.'/'.$oldDomain);
|
||||
|
||||
$this->install($newDomain);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user