asdf-community / asdf-golang

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

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

Closed andyjones closed 4 months ago

andyjones commented 5 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 ...