asdf-community / asdf-golang

Go plugin for the asdf version manager
https://github.com/asdf-vm/asdf
MIT License
552 stars 92 forks source link

Handle "No version is set" case when setting GOROOT #132

Closed andyjones closed 7 months ago

andyjones commented 8 months ago

When using https://github.com/asdf-community/asdf-golang?tab=readme-ov-file#goroot to set GOROOT and there is no default go version set, running any shell command was printing out:

No version is set for command go
Consider adding one of the following versions in your config file at ...