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

Add values() call to reset keys after modifying paths #1477

Merged
merged 1 commit into from
Jun 2, 2024

Conversation

adriaanzon
Copy link
Contributor

This fixes an issue where running commands like valet link foo would cause the paths config array in ~/.config/valet/config.json to turn into an object with non-sequential keys. This in turn caused phpmon to fail with "Laravel Valet configuration file invalid or missing", when it tried to parse the config file.

@mattstauffer
Copy link
Collaborator

@adriaanzon sorry for the delay, but can you give an example of what caused this to happen? I can't reproduce it.

@mattstauffer mattstauffer merged commit 0844c56 into laravel:master Jun 2, 2024
6 checks passed
@mattstauffer
Copy link
Collaborator

Eh. Even if I can't repro it, it shouldn't have a negative effect because it's just enforcing that this does what we already expect it's going to do.

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.

2 participants