1
0
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:
Matt Stauffer
2023-08-11 09:03:30 -04:00
committed by GitHub
parent 0a33373bb6
commit 2320d15f7d

View File

@@ -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);