Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only delete DNSMasq resolver when Herd is not installed #1434

Merged
merged 2 commits into from
Aug 11, 2023

Conversation

mpociot
Copy link
Contributor

@mpociot mpociot commented Jul 26, 2023

This PR ensures that the DNSMasq resolver configuration file only gets deleted when Laravel Herd is not installed.
Right now this introduces a bug when a user:

  1. Installs Herd
  2. Uninstalls Valet

As Valet then deletes the DNSMasq resolver that Herd still uses.

@drbyte
Copy link
Contributor

drbyte commented Jul 26, 2023

Looks good to me. 👍

@RobertBoes
Copy link
Contributor

Shouldn't Herd just create the file if it doesn't exist and needs it?

cli/Valet/DnsMasq.php Outdated Show resolved Hide resolved
Co-authored-by: Mateus Junges <[email protected]>
@mattstauffer mattstauffer merged commit 109c9d4 into laravel:master Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants