gvm cd fails with Unrecognized command line argument: ''
When .go-version file contains go version without go (e.g. 1.22, instead of go1.22), cd-ing into this directory prints error
Unrecognized command line argument: ''
We should consider allowing version without the prefix go in the regex https://github.com/moovweb/gvm/blob/dd652539fa4b771840846f8319fad303c7d0a8d2/scripts/env/cd#L184
same error here, pls consider adding an ignore rule to workaround .go-version file not in expected format
Having the same issue here
I've run into this as well and was going to draft up a PR for a replacement regex, but I'm not sure what requirements we want to support for versioning. I'd be happy to make it match the same without requiring the "go" substring.
For now, I have just started modifying my .go-version files.
That broke other things, I'll maintain my own regex for now.