Open stackbaek opened 2 months ago
When .go-version file contains go version without go (e.g. 1.22, instead of go1.22), cd-ing into this directory prints error
.go-version
go
1.22
go1.22
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
When
.go-version
file contains go version withoutgo
(e.g.1.22
, instead ofgo1.22
), cd-ing into this directory prints errorWe should consider allowing version without the prefix
go
in the regex https://github.com/moovweb/gvm/blob/dd652539fa4b771840846f8319fad303c7d0a8d2/scripts/env/cd#L184