mirror of
https://github.com/laravel/valet.git
synced 2026-02-07 01:00:09 +01:00
Update cli/Valet/DnsMasq.php
Co-authored-by: Mateus Junges <mateus@junges.dev>
This commit is contained in:
@@ -45,7 +45,7 @@ public function uninstall(): void
|
||||
$this->cli->run('rm -rf '.BREW_PREFIX.'/etc/dnsmasq.d/dnsmasq-valet.conf');
|
||||
|
||||
// As Laravel Herd uses the same DnsMasq resolver, we should only
|
||||
// delete if, if Herd is not installed.
|
||||
// delete it if Herd is not installed.
|
||||
if (!$this->files->exists('/Applications/Herd.app')) {
|
||||
$tld = $this->configuration->read()['tld'];
|
||||
$this->files->unlink($this->resolverPath . '/' . $tld);
|
||||
|
||||
Reference in New Issue
Block a user