Open orhpeus opened 9 months ago
I fix it in this pr: https://github.com/moovweb/gvm/pull/443
Also facing this issue over here. Tried your fix @andot but still facing the same problem.
I temporarily used the following method to disable the resolution of Windows paths.
[interop] appendWindowsPath=false
@andot @orhpeus @bamaas kindly try this out. I am using this goenv: https://github.com/ankitcharolia/goenv.
I am facing the same issue on an ARM MAC with zsh.
@andot 's solution solves the problem THX!
For anyone who comes here because of this problem: @andot PR has been there since September 2023, and I don't think the maintainer (@moovops) will merge the PR in the near time.
You can always rollback to the point when the defect has not been introduced, or you can add this at the end of your ~/.zshrc
or ~/.bashrc
export PATH=$(echo $PATH | sed 's/:\([^/]\)/ \1/g')
This workaround simply looks for any colon character that is not followed by a slash and replaces it with a space.
I am using gvm under WSL2. When the following script was added to the .bashrc, [[ -s "/home/m2m/.gvm/scripts/gvm" ]] && source "/home/m2m/.gvm/scripts/gvm"
I noticed that VS Code did not start properly. After looking at $PATH, it is found that the spaces in the path become colons. As shown in the following figure:
When GVM disabled:![image](https://github.com/moovweb/gvm/assets/9778592/f2444d1c-d9a3-48ef-95c4-1b077e1a788f)
When GVM enabled:![image](https://github.com/moovweb/gvm/assets/9778592/8bec6b42-585e-4cec-b08d-a7e14947f019)