You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: diagnose command replace backslashes with forwardslashes, and filter the valet home path.
- Fix for the nginx config check command, where it errors out because it couldn't find the file due to the path after the `-c` option couldn't be the shortened username via the `valetBinPath()`. Changed it back to use `__DIR__` . And added an escaped double quotes (`\"`) around it.
- Fix for the nginx config check command, where it also errorred out not finding the file due to the replacing of all backslashes in the command. This meant that with the new escaped double quotes it changed the backslash to forward slash. So instead of `-c \"C:/Users/...` it was changed to `-c /"C:/Users/...` and the system interpreted it as ``"C:/C:/Users/...`
Fixed by changing the replace function to use a regex that only replaces single backslashes and disregards the escaped quotes.
- Fix for the composer global diagnose command where it would error out when there's a space in the user directory name. Fixed by making sure it also uses the shortname via the `pathFilter()`.
0 commit comments